feature(ponse) generateHeaders: add Content-Length

This commit is contained in:
coderaiser 2014-09-11 13:00:19 +00:00
parent fa51b77de1
commit c8a4817e1d

View file

@ -130,6 +130,10 @@
'Content-Length': p.range.size
});
else if (p.length)
Util.copyObj(header, {
'Content-Length': p.length
});
cmp = Util.strCmp(extension, '.appcache');
if (!p.cache || cmp)