Are values such as keep-alive, Close, and Upgrade of the Connection: header case sensitive?
I’m writing a simple web server and wondering whether I should be transforming the values to lower case before checking them.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I can’t find any explicit specification of the case-sensitivity of the Connection’s field values. But as Connection may contain the name of header fields:
and as those header field names are case-insensitive, I conclude that the Connection’s field value is also considered case-insensitive.