Closed ericmorand closed 1 year ago
By the way, traefik version is 2.9.10, in case it matters.
Hello @ericmorand,
Thanks for your interest in this Traefik plugin !
Indeed, I can see an issue with the following line: https://github.com/tomMoulard/htransformation/blob/6236d9c13c900fca50a70225881ea4cd4a0e6d79/pkg/handler/set/set.go#L19
It should be:
rw.Header().Set(rule.Header, rule.Value)
Hi
I have the feeling that
SetOnResponse
setting doesn't work.Here is the
docker-composer.yml
file that spawns Traefik and theirwhoami
service:When I curl the
whoami
service, I can see theFoo
header in the request...but not in the response:Am I doing something wrong here or is there an issue with the
SetOnResponse
field?