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.
Duplicate headers are listed multiple times.
- Decoding: No decoding performed
 - Whitespace: Preserved
 - Non-ASCII: Preserved
 
Example value:
["content-type"]Example usage:
any(http.response.headers.names[*] == "content-type") Categories: 
   - Response
 - Headers
 
Was this helpful?
- Resources
 - API
 - New to Cloudflare?
 - Directory
 - 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