Is it ever meaningful whether the order of headers is
A: 1
B: 2
vs
B:2
A:1
I’m trying to figure out if I can use a dictionary to store a list of headers or if it needs to be some kind of list or ordered dictionary.
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.
No, it does not matter for headers with different names. See RFC 2616, section 4.2:
It DOES matter, however, for multiple headers with the same name: