Preserve case header formatter

This extension may be referenced by the qualified name envoy.http.stateful_header_formatters.preserve_case


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


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


[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": "..."

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


(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) ⁣Use LowerCase on Envoy added headers.


⁣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.