[whatwg/fetch] should cors preflight have an accept header? (#922)

In crbug.com/995740 we have encountered a server that fails if the cors preflight options request does not have an accept header.  It seems, though, the spec does not include accept on those requests.

The default accept */* header is added in "perform a fetch" here:

https://fetch.spec.whatwg.org/#fetching

But cors preflight taps straight into "HTTP-network-or-cache fetch" further down the algorithm.

Is this intentional or an oversight in the spec?

-- 
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/922

Received on Tuesday, 20 August 2019 17:38:20 UTC