http-cache-semantics
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -491,3 +491,7 @@ 'use strict'; | ||
policy: new this.constructor(request, response), | ||
modified: true, | ||
// Client receiving 304 without body, even if it's invalid/mismatched has no option | ||
// but to reuse a cached body. We don't have a good way to tell clients to do | ||
// error recovery in such case. | ||
modified: response.status != 304, | ||
matches: false, | ||
} | ||
@@ -511,4 +515,5 @@ } | ||
modified: false, | ||
matches: true, | ||
}; | ||
} | ||
}; |
{ | ||
"name": "http-cache-semantics", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/kornelski/http-cache-semantics.git", |
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
32845
454