Closed levelrin closed 3 years ago
We may have duplicated header names such as Sec-WebSocket-Extensions. The following must be true:
Sec-WebSocket-Extensions
Sec-WebSocket-Extensions: foo Sec-WebSocket-Extensions: bar; baz=2 is exactly equivalent to Sec-WebSocket-Extensions: foo, bar; baz=2
Sec-WebSocket-Extensions: foo Sec-WebSocket-Extensions: bar; baz=2
is exactly equivalent to
Sec-WebSocket-Extensions: foo, bar; baz=2
The duplicated header name can be combined into one, in which the values are separated by commas. The order matters. The first value should come first, and the second value should come after by a comma.
We may have duplicated header names such as
Sec-WebSocket-Extensions
. The following must be true:The duplicated header name can be combined into one, in which the values are separated by commas. The order matters. The first value should come first, and the second value should come after by a comma.