muh
This commit is contained in:
parent
c7bdf67436
commit
b257e53a60
|
@ -194,7 +194,6 @@ function Websrv(tlib) {
|
||||||
var total = file.length;
|
var total = file.length;
|
||||||
var start = parseInt(partialstart, 10);
|
var start = parseInt(partialstart, 10);
|
||||||
var end = partialend ? parseInt(partialend, 10) : total-1;
|
var end = partialend ? parseInt(partialend, 10) : total-1;
|
||||||
|
|
||||||
res.writeHead(206, {
|
res.writeHead(206, {
|
||||||
"Content-Range": "bytes " + start + "-" + end + "/" + (total),
|
"Content-Range": "bytes " + start + "-" + end + "/" + (total),
|
||||||
"Accept-Ranges": "bytes",
|
"Accept-Ranges": "bytes",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user