- From: Yutaka Hirano <notifications@github.com>
- Date: Wed, 30 Sep 2015 03:21:45 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Wednesday, 30 September 2015 10:22:12 UTC
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