---
title: http.response.headers.names · Cloudflare Ruleset Engine docs
description: The names of the headers in the HTTP response.
chatbotDeprioritize: false
source_url:
  html: https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/http.response.headers.names/
  md: https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/http.response.headers.names/index.md
---

# http.response.headers.names

`http.response.headers.names` Array\<String>

The names of the headers in the HTTP response.

The names are not pre-processed and retain the original case used in the response.

The order of header names is not guaranteed but will match [`http.response.headers.values`](https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/http.response.headers.values/).

Duplicate headers are listed multiple times.

* **Decoding**: No decoding performed
* **Whitespace**: Preserved
* **Non-ASCII**: Preserved

Example value:

```txt
["content-type"]
```

Example usage:

```txt
any(http.response.headers.names[*] == "content-type")
```

Categories:

* Response
* Headers
