make-fetch-happen
Advanced tools
Comparing version 2.4.11 to 2.4.12
@@ -253,6 +253,6 @@ 'use strict' | ||
function addCacheHeaders (resHeaders, path, key, hash, time) { | ||
resHeaders.set('X-Local-Cache', path) | ||
resHeaders.set('X-Local-Cache-Key', key) | ||
resHeaders.set('X-Local-Cache-Hash', hash) | ||
resHeaders.set('X-Local-Cache', encodeURIComponent(path)) | ||
resHeaders.set('X-Local-Cache-Key', encodeURIComponent(key)) | ||
resHeaders.set('X-Local-Cache-Hash', encodeURIComponent(hash)) | ||
resHeaders.set('X-Local-Cache-Time', new Date(time).toUTCString()) | ||
} |
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.4.12"></a> | ||
## [2.4.12](https://github.com/zkat/make-fetch-happen/compare/v2.4.11...v2.4.12) (2017-06-06) | ||
### Bug Fixes | ||
* **cache:** encode x-local-cache-etc headers to be header-safe ([dc9fb1b](https://github.com/zkat/make-fetch-happen/commit/dc9fb1b)) | ||
<a name="2.4.11"></a> | ||
@@ -7,0 +17,0 @@ ## [2.4.11](https://github.com/zkat/make-fetch-happen/compare/v2.4.10...v2.4.11) (2017-06-05) |
{ | ||
"name": "make-fetch-happen", | ||
"version": "2.4.11", | ||
"version": "2.4.12", | ||
"description": "Opinionated, caching, retrying fetch client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
60263