http.response.set_cookies
http.response.set_cookiesMap<Array<String>>The parsed cookies from the current HTTP response Set-Cookie headers.
Map keys are URL-decoded cookie names. Cookie names that become identical after decoding share an array of values, in occurrence order.
Cookie values are not URL decoded. Attributes such as Path, Secure, and HttpOnly are not included in the values.
This field reflects response header changes from earlier phases. Fields remain immutable within a phase. Refer to Field values during rule evaluation.
To inspect the original response cookies, use raw.http.response.set_cookies.
The availability of HTTP response fields depends on the Cloudflare feature and your plan.
Example value:
{"app": ["test", "preview"]}Example usage:
http.response.set_cookies["app"][0] eq "test"Categories:
- Response
- Headers