-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] How can I insert a HTTP header only when that header does not exist? #22713
Comments
Hmm, yeah, although the new option was added in the #18246, the implementation is still absent. |
I will try to land it. |
A workaround should be able to do that for now before @wbpcode land it
|
Thank you. But it is difficult for the scale deployment. |
np! yea, that could be a combination explosion. |
For example, I want to add a HTTP header
foo: bar
into request when the original request does not have the HTTP headerfoo
. But, if the original request have the HTTP headerfoo
, envoy should do nothing header manipulation for this request.The existing setting HeaderValueOption can't resolve this issue. Please correct me if i am wrong.
CC @wbpcode
The text was updated successfully, but these errors were encountered: