@lucid_thayne wrote:
What is the best way to delete a single cookie?
I tried
http-request replace-header Cookie mycookie=[^;]*(;\s*|$) ""but then I get an error that
http-request replace-headerrequires three parameters. Apparently it doesn’t recognise the empty string as a parameter. (at least on 1.7).
I was kind of surprised there doesn’t seem to be any built-in ways to manipulate cookies since haproxy already has to know how to parse cookies for the
cookfetch.What is the best way to delete an individual cookie?
Posts: 1
Participants: 1
. (at least on 1.7).