package
0.0.0-20250305113347-723568176820
Repository: https://github.com/cilium/proxy.git
Documentation: pkg.go.dev
# Constants
Allow headers with underscores.
Drop the client header with name containing underscores.
Reject client request.
Default behavior specific to implementation (i.e.
Keep escaped slashes.
Reject client request with the 400 status.
Unescape “%2F“ and “%5C“ sequences.
Unescape “%2F“ and “%5C“ sequences and redirect the request to the new path if these sequences were present.
# Variables
No description provided by the author
Enum value maps for HeaderValidatorConfig_HeadersWithUnderscoresAction.
Enum value maps for HeaderValidatorConfig_HeadersWithUnderscoresAction.
Enum value maps for HeaderValidatorConfig_UriPathNormalizationOptions_PathWithEscapedSlashesAction.
Enum value maps for HeaderValidatorConfig_UriPathNormalizationOptions_PathWithEscapedSlashesAction.
# Structs
This extension validates that HTTP request and response headers are well formed according to respective RFCs.
No description provided by the author
HeaderValidatorConfig_Http1ProtocolOptionsValidationError is the validation error returned by HeaderValidatorConfig_Http1ProtocolOptions.Validate if the designated constraints aren't met.
No description provided by the author
HeaderValidatorConfig_UriPathNormalizationOptionsValidationError is the validation error returned by HeaderValidatorConfig_UriPathNormalizationOptions.Validate if the designated constraints aren't met.
HeaderValidatorConfigValidationError is the validation error returned by HeaderValidatorConfig.Validate if the designated constraints aren't met.
# Type aliases
Action to take when Envoy receives client request with header names containing underscore characters.
HeaderValidatorConfig_Http1ProtocolOptionsMultiError is an error wrapping multiple validation errors returned by HeaderValidatorConfig_Http1ProtocolOptions.ValidateAll() if the designated constraints aren't met.
Determines the action for requests that contain “%2F“, “%2f“, “%5C“ or “%5c“ sequences in the URI path.
HeaderValidatorConfig_UriPathNormalizationOptionsMultiError is an error wrapping multiple validation errors returned by HeaderValidatorConfig_UriPathNormalizationOptions.ValidateAll() if the designated constraints aren't met.
HeaderValidatorConfigMultiError is an error wrapping multiple validation errors returned by HeaderValidatorConfig.ValidateAll() if the designated constraints aren't met.