http-cache-semantics
Advanced tools
Comparing version 3.6.0 to 3.6.1
@@ -10,6 +10,5 @@ 'use strict'; | ||
const excludedFromRevalidationUpdate = { | ||
'etag': true, 'last-modified': true, // Per spec | ||
'content-range': true, | ||
// Since the old body is reused, it doesn't make sense to change properties of the body | ||
'content-length': true, 'content-encoding': true, 'transfer-encoding': true, | ||
'content-range': true, | ||
}; | ||
@@ -16,0 +15,0 @@ |
{ | ||
"name": "http-cache-semantics", | ||
"version": "3.6.0", | ||
"version": "3.6.1", | ||
"description": "Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -43,2 +43,3 @@ 'use strict'; | ||
assert.strictEqual(headers['x-ignore-new'], undefined); | ||
assert.strictEqual(headers['etag'], secondResponse.headers.etag); | ||
} | ||
@@ -45,0 +46,0 @@ |
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
67941