So if I'm reading https://www.haproxy.com/documentation/hapee/1-7r1/traffic-management/http-rewrite/ correctly, making this small change in the metadata agent driver should fix this:
s/add-header/set-header
set-header removes first any header in existing field that matches <name>.
If others agree I could send out a patch.
So if I'm reading https:/ /www.haproxy. com/documentati on/hapee/ 1-7r1/traffic- management/ http-rewrite/ correctly, making this small change in the metadata agent driver should fix this:
s/add-header/ set-header
set-header removes first any header in existing field that matches <name>.
If others agree I could send out a patch.