-
Notifications
You must be signed in to change notification settings - Fork 145
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 are all set to lowercase #258
Comments
Http header are case insensitive |
it doesn't matter. you cant grantee the server your communicating with is also going to be case insensitive |
Can you confirm that |
If the server isn't compliant with the spec then you don't have any guarantees at all. If you have a bug where this is an issue, then this ticket belongs with the server, not here. Compliance aside, I do agree with the spirit of keeping the case as specified. |
If you use HTTP 2.0, the browser will turn all headers to lowercase. This is enforced by your browser and cannot be worked around.
|
Describe the Bug
i am trying to make a HTTP POST request to an API with a specific header set, but the header gets set to all lowercase at some point
Steps to Reproduce
testheader: MyVAlUe
(note the diffrence in case)
Expected Behavior
header set should match the case of whats defined in the code.
Actual Behavior
header is always lowercase, regardless of code
Additional Context
tested on chromium and firefox; same thing
The text was updated successfully, but these errors were encountered: