How do I modify my Apache request headers?
Linode
Linode Staff
I'm having an issue with header parameters. At some point the header is automatically changed so that the first letter will be set to a capital in the header.
For example, I have "username" passed through a header. This should be lowercase, but in PHP the header is seen as "Username".
I'm using Apache and not totally sure how to fix this in an appropriate way. Would this be handled with mod_headers?
1 Reply
See:
https://stackoverflow.com/questions/5258977/are-http-headers-case-sensitive#5259004
Header names are supposed to be case-insensitive but browsers typically change the first letter of the header name to a capital letter.
-- sw