- From: Manfred Stock <notifications@github.com>
- Date: Mon, 22 Feb 2016 01:19:09 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Monday, 22 February 2016 09:19:48 UTC
If I understand the [`Vary:`-header specification](http://tools.ietf.org/html/rfc7231#section-7.1.4) and [a blog post about "Caching with CORS"](https://www.fastly.com/blog/caching-cors) correctly, the header refers to request headers like `Accept-Encoding`, and not response headers. So the example should `Vary` on the `Origin` request header, not the `Access-Control-Allow-Origin` response header. You can view, comment on, or merge this pull request online at: https://github.com/whatwg/fetch/pull/220 -- Commit Summary -- * Vary:-header refers to request headers, not response headers -- File Changes -- M Overview.src.html (2) -- Patch Links -- https://github.com/whatwg/fetch/pull/220.patch https://github.com/whatwg/fetch/pull/220.diff --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/220
Received on Monday, 22 February 2016 09:19:48 UTC