- From: Anne van Kesteren <notifications@github.com>
- Date: Thu, 23 Jul 2015 06:37:15 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Thursday, 23 July 2015 13:37:45 UTC
That is a good question. I added the flag since everything has an origin, but not all fetches want to include an `Origin` header (due to compatibility concerns, mostly). I guess I (or someone else) needs to study HTML again to find out exactly when we want to include this. I believe the rule was any same-origin, cross-origin CORS, or cross-origin non-GET request, but I'm not sure. I suspect we don't want `fetch()` to override it in all cases so service worker passthrough fetches remain as similar as possible. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/91#issuecomment-124102522
Received on Thursday, 23 July 2015 13:37:45 UTC