---
title: "Rules - Match response cookies by name in Rules expressions — Cloud Changelog"
description: "Rules expressions can inspect response cookies by name using two fields: http.response.set_cookies: Parsed cookies from the current response headers. raw.…"
url: "https://cloudchangelog.com/cloudflare/2026-11-27-parsed-response-cookies"
updated: "2026-11-27"
---

[Back to feed](https://cloudchangelog.com/feed/2026-W48)

November 27, 2026 · Cloudflare

# Rules - Match response cookies by name in Rules expressions

- [Rules](https://cloudchangelog.com/products/cloudflare/rules)
- [Security, identity and compliance](https://cloudchangelog.com/search?q=security)

## What changed

**Cloudflare Rules:** Two new fields match response cookies by name in expressions.

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`](https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/http.response.set_cookies/) and [`raw.http.response.set_cookies`](https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/raw.http.response.set_cookies/) field references.

Get the week’s Cloudflare changes in one email

Your email address

Free, every Monday: only what changed in Cloudflare that week. We email you a link to confirm.

[See last week’s digest](https://cloudchangelog.com/digests/weekly-2026-W47#provider-cloudflare)

Free. Unsubscribe any time.

[Read on developers.cloudflare.com](https://developers.cloudflare.com/changelog/post/2026-11-27-parsed-response-cookies/)

[All Rules changes](https://cloudchangelog.com/products/cloudflare/rules)

## Contact

- [YouTube](https://www.youtube.com/@cloudchangelog)
