temporalio / temporal

Temporal service

Home Page:https://docs.temporal.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support HTTPAdditionalForwardHeader prefixes

kollektiv opened this issue · comments

Support HTTPAdditionalForwardHeaders prefixes to allow passing in prefixes (i.e. foo-bar-) to forward instead of needing to specify a list of every single header

Is your feature request related to a problem? Please describe.

It's helpful to be able to add new headers using a common prefix and not need to do a temporal server deployment

Describe the solution you'd like

In addition to HTTPAdditionalForwardHeaders, support a list of prefixes. This could be called HTTPAdditionalForwardedHeaderPrefixes

Describe alternatives you've considered
N/A

Additional context
N/A

In addition to HTTPAdditionalForwardHeaders, support a list of prefixes. This could be called HTTPAdditionalForwardedHeaderPrefixes

Alternatively could just say any value in the existing with a trailing * will match the prefix before that asterisk. I have no strong opinion on which approach to take.