My origin is sending a response like:
Set-Cookie: cookie1=500; Domain=.mydomain.com; Max-Age=31536000; Path=/ Set-Cookie: cookie2=500; Domain=.mydomain.com; Max-Age=31536000; Path=/
When I apply a header rule (I know it is useless) such as:
Name: test Type: response Action: set Destination: http.Set-Cookie Source: regsuball(resp.http.Set-Cookie,"mydomain","foo")
I then get a response such as:
Set-Cookie: cookie2=500; Domain=.foo.com; Max-Age=31536000; Path=/
It seems my rule is removing one of the two cookies.
Am I doing something wrong?
Thanks in advance.
Please sign in to leave a comment.