From 4742fd3d81b76f31aa0d9d6591a305b5484f5a0f Mon Sep 17 00:00:00 2001 From: Flummi Date: Mon, 28 Nov 2016 08:07:19 +0100 Subject: [PATCH] fix for download webms? --- src/websrv.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/websrv.js b/src/websrv.js index a5b98ff..b1e15e3 100644 --- a/src/websrv.js +++ b/src/websrv.js @@ -193,6 +193,7 @@ function Websrv(tlib) { 'Connection':'close', 'Content-Type':contentType, 'Content-Length':end - start, + 'Content-Length':stat.size, 'Content-Range':'bytes '+start+'-'+end+'/'+stat.size, 'Transfer-Encoding':'chunked' });