Re: [whatwg/fetch] Optional disable setting headers keys in lowercase (#304)

I just ran into this lowercasing behavior and it is preventing me from consuming a third-party API that expects capital letters for headers.  If I explicitly set my headers to capital case for a fetch request, I would expect that it is sent to the server as such.  I have no control over the third-party API, and I am sad that I will have to abandon the fetch polyfill as it is making an assumption that all servers match headers against lowercase or that they normalize casing.  Not all APIs are optimal.

-- 
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/304#issuecomment-249592573

Received on Monday, 26 September 2016 14:50:41 UTC