koa-spdy-push
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -40,6 +40,8 @@ | ||
&& filter(headers['content-type']) | ||
if (compress) | ||
if (compress) { | ||
headers['content-encoding'] = 'gzip' | ||
else if (typeof length === 'number') | ||
delete headers['content-length'] | ||
} else if (typeof length === 'number') { | ||
headers['content-length'] = String(length) | ||
} | ||
@@ -46,0 +48,0 @@ // regular push stream handling |
{ | ||
"name": "koa-spdy-push", | ||
"description": "SPDY Push helper for Koa", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Jonathan Ong", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13105
331