Quantcast
Channel: Are HTTP headers case-sensitive? - Stack Overflow
Viewing all articles
Browse latest Browse all 8

Answer by user6262626262 for Are HTTP headers case-sensitive?

$
0
0

The RFC for HTTP (as cited above) dictates that the headers are case-insensitive, however you will find that with certain browsers (I'm looking at you, IE) that capitalizing each of the words tends to be best:

Location: http://stackoverflow.comContent-Type: text/plain

vs

location: http://stackoverflow.comcontent-type: text/plain

This isn't "HTTP" standard, but just another one of the browser quirks, we as developers, have to think about.


Viewing all articles
Browse latest Browse all 8

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>