Sorry if this is a repeat.  I sent last week but never saw it come into my
inbox (Will I see my own messages come in on the list?) so I'm not sure it
made it to the list.

I need to capture a cookie value in a request and then append it as a http
header value.  I've been searching for examples for doing this with haproxy
but have come up short.  Is it possible?

For example.  If I have:

Cookie: name1=999999999999999; name2=888888888888888888888

I want to capture the value of 'name1' and set it as 'x-header-value' which
I know I could add with something like this:

reqadd x-header-value:\ name1value

Any examples or tips would be greatly appreciated.

MG

Reply via email to