http.response.content_type.media_type
http.response.content_type.media_type String The lowercased content type (including subtype and suffix) without any extra parameters, based on the response's Content-Type header.
The field value will not include parameters such as charset.
Example values:
| Content-Type header | Field value | 
|---|---|
text/html | 
"text/html" | 
text/html; charset=utf-8 | 
"text/html" | 
text/html+extra | 
"text/html+extra" | 
text/html+extra; charset=utf-8 | 
"text/html+extra" | 
text/HTML | 
"text/html" | 
text/html; charset=utf-8; other=value | 
"text/html" | 
 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