lookup> HTTP2-Settings

HTTP2-Settings

A request that upgrades from HTTP/1.1 to HTTP/2 MUST include exactly one HTTP2-Settings header field. The HTTP2-Settings header field is a connection-specific header field that includes parameters that govern the HTTP/2 connection, provided in anticipation of the server accepting the request to upgrade.

请求头RFC7540#3.2.1
NameHTTP2-Settings
Type请求头
SpecificationRFC7540#3.2.1

A request that upgrades from HTTP/1.1 to HTTP/2 MUST include exactly one HTTP2-Settings header field. The HTTP2-Settings header field is a connection-specific header field that includes parameters that govern the HTTP/2 connection, provided in anticipation of the server accepting the request to upgrade.

HTTP2-Settings: <value>

RFC7540#3.2.1

What does the HTTP2-Settings header do?

A request that upgrades from HTTP/1.1 to HTTP/2 MUST include exactly one HTTP2-Settings header field. The HTTP2-Settings header field is a connection-specific header field that includes parameters that govern the HTTP/2 connection, provided in anticipation of the server accepting the request to upgrade.

Is HTTP2-Settings a request or response header?

It is classified as a request header and can appear in requests or responses depending on context.

Related status codes