// AI Platform Drift
Cloudflare Rules expressions add response cookie inspection fields
Cloudflare developer changelog · published 2026-11-27 21:19 UTC
WHAT CHANGEDCloudflare added two new fields to Rules expressions: http.response.set_cookies for parsed cookies from current response headers, and raw.http.response.set_cookies for parsed cookies from original response headers. Both fields map URL-decoded cookie names to arrays of values, with duplicate names retaining multiple values. Cookie attributes like Path and HttpOnly are excluded.
WHY IT MATTERSResponse Header Transform Rules can now match and act on specific response cookies by name, enabling conditional header modifications based on cookie values set by upstream applications. The raw field preserves original cookies while the current field reflects changes from earlier phases.
WHAT TO DOReview Response Header Transform Rules that need to inspect or match on response cookies. Update expressions to use http.response.set_cookies["cookie_name"][0] syntax for current cookies or raw.http.response.set_cookies for original values.
Model-reported confidence 85% (not measured accuracy)
Primary source ↗
Summary drafted by an AI model and checked by RADAR's rules
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+## Rules - Match response cookies by name in Rules expressions +https://developers.cloudflare.com/changelog/post/2026-11-27-parsed-response-cookies/ +Fri, 27 Nov 2026 00:00:00 GMT + +Rules expressions can inspect response cookies by name using two fields: + +http.response.set_cookies: Parsed cookies from the current response headers. +raw.http.response.set_cookies: Parsed cookies from the original response headers. + +For example, use this expression in a Response Header Transform Rule to match a response that sets an app cookie to preview: +http.response.set_cookies["app"][0] eq "preview" +Both fields map URL-decoded cookie names to arrays of values. Duplicate names retain multiple values. Cookie attributes such as Path and HttpOnly are excluded. +The current field reflects changes from earlier phases. The raw field preserves the original cookies. Normal within-phase field immutability still applies. +For details, refer to the http.response.set_cookies and raw.http.response.set_cookies field references.
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | Material (MATERIAL) at 0.92, needed 0.5 |
|---|---|
| triage reasoning | New API fields expand Rules expression capabilities for cookie inspection and matching. |
| signals | new API fields added to Rules expressions · two new inspectable fields: http.response.set_cookies and raw.http.response.set_cookies · enables response cookie matching by name in Rules · future date: 2026-11-27 · new capability for Response Header Transform Rules |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |