New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outdated spec implementation. "fetch" spec changed in 2017 - Does not lowercase headers #737
Comments
Are you primarily speaking of this function? |
@naclcaleb Sort of? But we can't just remove the lowercasing in normalization. I'm guessing we also need to implement a byte-insensitive match like annevk created in his whatwg PR. |
The reason why this spec update is important is while a server might be expected to handle headers a certain way (as outlined in RFC2616), they do not always comply. I recently came across such an issue. |
Headers look to not be lowercase when declared via an object but are lowercased when declared via the |
PR to resolve this --> #798 |
This polyfill is an outdated implementation of the fetch standard.
See this change to the fetch standard in 2017: whatwg/fetch#476
To come back in compliance with the standard, the polyfill needs to stop lowercasing headers, regardless how headers are meant to be interpreted in RFC2616.
Browser implementations such as Chrome are already in compliance and do not lowercase headers for fetch calls.
The text was updated successfully, but these errors were encountered: