package envoy.extensions.http.header_validators.envoy_default.v3

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message HeaderValidatorConfig

header_validator.proto:31

This extension validates that HTTP request and response headers are well formed according to respective RFCs. #. HTTP/1 header map validity according to `RFC 7230 section 3.2 <https://datatracker.ietf.org/doc/html/rfc7230#section-3.2>`_ #. Syntax of HTTP/1 request target URI and response status #. HTTP/2 header map validity according to `RFC 7540 section 8.1.2 <https://datatracker.ietf.org/doc/html/rfc7540#section-8.1.2>`_ #. Syntax of HTTP/2 pseudo headers #. HTTP/3 header map validity according to `RFC 9114 section 4.3 <https://www.rfc-editor.org/rfc/rfc9114.html>`_ #. Syntax of HTTP/3 pseudo headers #. Syntax of Content-Length and Transfer-Encoding #. Validation of HTTP/1 requests with both ``Content-Length`` and ``Transfer-Encoding`` headers #. Normalization of the URI path according to `Normalization and Comparison <https://datatracker.ietf.org/doc/html/rfc3986#section-6>`_ without `case normalization <https://datatracker.ietf.org/doc/html/rfc3986#section-6.2.2.1>`_ [#comment:TODO(yanavlasov): Put #extension: envoy.http.header_validators.envoy_default after it is not hidden any more] [#next-free-field: 6]

enum HeaderValidatorConfig.HeadersWithUnderscoresAction

header_validator.proto:37

Action to take when Envoy receives client request with header names containing underscore characters. Underscore character is allowed in header names by the RFC-7230 and this behavior is implemented as a security measure due to systems that treat '_' and '-' as interchangeable. Envoy by default allows client request headers with underscore characters.

Used in: HeaderValidatorConfig

message HeaderValidatorConfig.Http1ProtocolOptions

header_validator.proto:117

Used in: HeaderValidatorConfig

message HeaderValidatorConfig.UriPathNormalizationOptions

header_validator.proto:54

Used in: HeaderValidatorConfig

enum HeaderValidatorConfig.UriPathNormalizationOptions.PathWithEscapedSlashesAction

header_validator.proto:57

Determines the action for requests that contain ``%2F``, ``%2f``, ``%5C`` or ``%5c`` sequences in the URI path. This operation occurs before URL normalization and the merge slashes transformations if they were enabled.

Used in: UriPathNormalizationOptions