Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set CORS preflight requests' mode to "cors"
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. Tests: https://chromium-review.googlesource.com/c/chromium/src/+/1702311. Fixes w3c/webappsec-fetch-metadata#35.
- Loading branch information