mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(ponse) generateHeaders: add Content-Length
This commit is contained in:
parent
fa51b77de1
commit
c8a4817e1d
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue