Re: [fetch] The reason why Access-Control-Request-Headers includes simple headers (#249)

> One problem would be Content-Type, of which only a subset is simple. Would it only be included if header list contained a non-simple value for it?

We do pretty much that in gecko:

https://dxr.mozilla.org/mozilla-central/source/netwerk/protocol/http/nsCORSListenerProxy.cpp#966

The logic is a bit convoluted, but effectively we add `Content-Type` to `Access-Control-Request-Headers` if its not an allowed simple content-type value.

I'm sure @sicking would know more.

---
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/249#issuecomment-197391912

Received on Wednesday, 16 March 2016 15:49:58 UTC