Re: [whatwg/fetch] Allow custom headers on no-cors requests (#380)

To clarify, I'm suggesting we modify step 5 of main fetch here:

https://fetch.spec.whatwg.org/#main-fetch

To say something like:

```
request’s mode is "no-cors"
  1. If request’s redirect mode is not "follow", then return a network error.
  2. Set request’s response tainting to "opaque".
  3. Remove all headers from request that are not a CORS-safelisted request-header.
  4. Return the result of performing a scheme fetch using request.
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/380#issuecomment-382935365

Received on Friday, 20 April 2018 01:31:56 UTC