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

The conclusion is to add the Origin header unless the omit flag is set, and there is no way to set the flag via XHR / fetch() with a user constructed Request at least for now, right?

|                                          | Spec  | Chrome 45 | Firefox 41 |
|-----------------------------------|-----------------------------|-------------------|------------------|
| fetch(new Request(url, {method: 'GET'}))       | add                            | omit       |  add              |
| fetch(new Request(url, {method: 'PATCH'}))  | add                            | add                |  add              |
| XHR (method = GET)      | add                            | omit       | omit      |
| XHR (method = PATCH) | add                            | add                | omit      |


---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/91#issuecomment-144348029

Received on Wednesday, 30 September 2015 10:22:12 UTC