[whatwg/fetch] Set CORS preflight requests' `mode` to `cors`. (#916)

CORS preflight requests' `mode` is now exposed via the `Sec-Fetch-Mode` header, and it
makes sense to set it to `cors`, as it's part of the CORS protocol.

Fixes https://github.com/w3c/webappsec-fetch-metadata/issues/35.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Set CORS preflight requests' `mode` to `cors`.

-- File Changes --

    M fetch.bs (1)

-- Patch Links --

https://github.com/whatwg/fetch/pull/916.patch
https://github.com/whatwg/fetch/pull/916.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/916

Received on Tuesday, 16 July 2019 10:17:30 UTC