raw.http.response.set_cookies
raw.http.response.set_cookiesMap<Array<String>>The parsed cookies from the original HTTP response Set-Cookie headers.
This is the raw field version of http.response.set_cookies. It preserves the original response cookies and is unaffected by subsequent response header changes.
The same cookie parsing applies to both fields: names are URL decoded, duplicate names share an array of values, and values exclude cookie attributes. The raw. prefix does not disable parsing or name decoding.
The availability of HTTP response fields depends on the Cloudflare feature and your plan.
Example value:
{"app": ["test", "preview"]}Example usage:
raw.http.response.set_cookies["app"][0] eq "test"Categories:
- Response
- Headers