prepare-response
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -23,3 +23,3 @@ 'use strict'; | ||
}).then(function (gzippedBody) { | ||
if (gzippedBody.length >= body.length) { | ||
if (typeof options.gzip !== 'boolean' && gzippedBody.length >= body.length) { | ||
options.gzip = false; | ||
@@ -26,0 +26,0 @@ } |
{ | ||
"name": "prepare-response", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Prepare a text resposne to be efficiently sent", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
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
6746