Preserve case header formatter (proto)

This extension has the qualified name envoy.http.stateful_header_formatters.preserve_case

Note

This extension is intended to be robust against both untrusted downstream and upstream traffic.

Tip

This extension extends and can be used with the following extension category:

This extension must be configured with one of the following type URLs:

extensions.http.header_formatters.preserve_case.v3.PreserveCaseFormatterConfig

[extensions.http.header_formatters.preserve_case.v3.PreserveCaseFormatterConfig proto]

Configuration for the preserve case header formatter. See the header casing configuration guide for more information.

{
  "forward_reason_phrase": ...,
  "formatter_type_on_envoy_headers": ...
}
forward_reason_phrase

(bool) Allows forwarding reason phrase text. This is off by default, and a standard reason phrase is used for a corresponding HTTP response code.

formatter_type_on_envoy_headers

(extensions.http.header_formatters.preserve_case.v3.PreserveCaseFormatterConfig.FormatterTypeOnEnvoyHeaders) Type of formatter to use on headers which are added by Envoy (which are lower case by default). The default type is DEFAULT, use LowerCase on Envoy headers.

Enum extensions.http.header_formatters.preserve_case.v3.PreserveCaseFormatterConfig.FormatterTypeOnEnvoyHeaders

[extensions.http.header_formatters.preserve_case.v3.PreserveCaseFormatterConfig.FormatterTypeOnEnvoyHeaders proto]

DEFAULT

(DEFAULT) ⁣Use LowerCase on Envoy added headers.

PROPER_CASE

⁣Use ProperCaseHeaderKeyFormatter on Envoy added headers that upper cases the first character in each word. The first character as well as any alpha character following a special character is upper cased.