mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(main) gzip only when need
This commit is contained in:
parent
5fec8b5abc
commit
275beb68a6
1 changed files with 1 additions and 1 deletions
|
|
@ -310,7 +310,7 @@
|
|||
if (ret) {
|
||||
p = params;
|
||||
data = p.data || data;
|
||||
isGzip = isGZIP(p.request);
|
||||
isGzip = p.gzip && isGZIP(p.request);
|
||||
|
||||
head = generateHeaders({
|
||||
name : p.name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue