This repository was archived by the owner on Dec 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Content-Type or content-type ? #410
Comments
Shouldn't matter, they are case insensitive but technically it's |
... since
RFC states that they should be lower-case, but most don't respect that. |
I was referring to the RFC specification.
I was going off what seems to be the common usage as i havn't seen a document outlining that (apparently i am not the only one if you correctly point out they are all wrong). |
I just re-read the RFC, and I was obviously wrong. Case-insensitive is correct. |
OK and checked since |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://github.com/vuejs/vue-resource/blob/master/dist/vue-resource.js#L865
Google return response headers in lower case
content-type
Github return response headers which capitalize first letter
Content-Type
I think both correct.
according to nodejs and w3, lower case is correct.
The text was updated successfully, but these errors were encountered: