[whatwg/fetch] Make CORS-preflight fetches set the CORS flag (#743)

Otherwise a 401 response would not necessarily result in rejection.

Fixes #741.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/743

-- Commit Summary --

  * Make CORS-preflight fetches set the CORS flag

-- File Changes --

    M fetch.bs (7)

-- Patch Links --

https://github.com/whatwg/fetch/pull/743.patch
https://github.com/whatwg/fetch/pull/743.diff

-- 
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/pull/743

Received on Monday, 28 May 2018 12:40:57 UTC