-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Headers API doesn't ignore case #226
Comments
Good catch! As a note, the implementation is defined here:
|
Sounds like a perfect first PR opportunity :) I haven't looked at the spec but Chrome, Firefox, Deno, and Node (with Would you accept a |
The spec also seems to approve of storing in lowercase. |
Sounds great. Let's go this way, and let me know if you want to submit a PR for this :)
I would prefer opening a new issue, since it's not directly related to this bug. |
* fix(js-runtime): make Headers class case insensitive (#226) * fix: runtime test Co-authored-by: QuiiBz <[email protected]>
Describe the bug
Headers
API should ignore letter cases but it doesn't. It causes many failures in Rakkas's integration tests.To Reproduce
Run the following snippet:
Expected behavior
I expect
headers.get("x-test")
to be equal toheaders.get("X-Test")
.Information:
The text was updated successfully, but these errors were encountered: