-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Set header from the value of another header (logic already exists in Join) #73
Comments
UPDATE: i was able to archive this using a workaround, example:
result from a dummy service i created on our k8s that prints headers:
would still appreciate adding this feature to the SET handler, as this workout is working but a bit ugly :) |
Hello @shmuelarditi, Thanks for your interest in this traefik plugin ! Indeed, this workaround exists, and might not be the best solution for this. Feel free to open a PR to add this new feature in the Set Handler 😄 |
I have found that the white space is not "removed", you have use the following code to copy a header to another one:
|
I'd like to see this as well :) |
Hi, @tomMoulard first of all thanks for creating this plugin we are using it in a few places and its great.
we would be happy if we could set an header based on another header value, for example using:
it will be a great and very useful addition, and considering there is similar logic in the Join handler i hope it wont be much work.
The text was updated successfully, but these errors were encountered: