http.response.headers
http.response.headers
Map<Array<String>> The HTTP response headers represented as a Map (or associative array).
When there are repeating headers, the array includes them in the order they appear in the response. The keys convert to lowercase.
- Decoding: No decoding performed
- Whitespace: Preserved
- Non-ASCII: Preserved
Example value:
{"server": ["nginx"]}
Example usage:
any(http.response.headers["server"][*] == "nginx")
Categories:
- Response
- Headers
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark