Does the order of headers in an HTTP response ever matter?

后端 未结 5 572
时光说笑
时光说笑 2020-12-01 05:47

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

5条回答
  •  离开以前
    2020-12-01 06:34

    The order of the headers should not matter. There might be "weaker" implementations of HTTP standard where the ordering does matter, but it shouldn't in general.

    Here's a link that describes HTTP headers:

    http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2

提交回复
热议问题