Re: [fetch] force-Origin-header flag set for no-cors requests (#91)

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