Re:The power of HTTP headers and examples
by superasn on Monday November 09, 2020 @08:46PM
(#25042052)
Cool article. Do these headers change with HTTP 1, 2, 3? Or are these headers fixed but only the type of connection changes with different HTTP protocols?
[ Parent
| on HN ]
Re:The power of HTTP headers and examples
by lights0123 on Monday November 09, 2020 @09:15PM
(#25042227)
HTTP/1.1 was the last to introduce new headers. HTTP/2 and later specify lower-level details than headers themselves.
Re:The power of HTTP headers and examples
by SahAssar on Tuesday November 10, 2020 @04:50AM
(#25044230)
I think it's more clear to say that headers are usually specified separate from the protocols these days, so there are new headers introduced after HTTP/1.1, but they are not usually introduced in the core HTTP spec but rather in separate RFCs that usually apply to HTTP/1.1, HTTP/2 and HTTP/3.
The only new header in the HTTP/2 RFC is specifically for HTTP/2 upgrades from HTTP/1.1: https://tools.ietf.org/html/rfc7540#section-3.2.1