Open llu94 opened 2 years ago
Now that your input is stream info, Could you use the StreamInfoHeaderFormatter? https://github.com/envoyproxy/envoy/blob/main/source/common/router/header_formatter.h#L36
Note that the Header is actually string, not a http header map.
That can be done.
Title: Substitution Formatters That Don't Required Headers/HTTP Components
Description:
[optional Relevant Links:] https://github.com/envoyproxy/envoy/issues/19685 https://github.com/envoyproxy/envoy/tree/main/source/common/formatter