12 KiB
| title | chunk | source | category | tags | date_saved | instance |
|---|---|---|---|---|---|---|
| Content header - Glossary | MDN | 1/3 | https://developer.mozilla.org/en-US/docs/Glossary/Content_header | reference | web, html, css, javascript, documentation | 2026-05-05T05:28:24.778178+00:00 | kb-cron |
MDN HTML HTML: Markup language
HTML reference
HTML guides
Markup languages
CSS reference
CSS guides
Layout cookbook
JavaScriptJS JavaScript: Scripting language
JS reference
JS guides
Web APIs Web APIs: Programming interfaces
Web API reference
Web API guides
- Using the Web animation API
- Using the Fetch API
- Working with the History API
- Using the Web speech API
- Using web workers
Technologies
Topics
Learn Learn web development
Frontend developer course
- Getting started modules
- Core modules
- MDN Curriculum
- Check out the video course from Scrimba, our partner
Learn HTML
Learn CSS
Learn JavaScript
Tools Discover our tools
About Get to know MDN better
Content header
Content headers are the group of HTTP headers that describe the content of the body of an HTTP message, after any message framing in the body has been removed. They specifically describe the properties of the message content that is conveyed in a particular message as it is transported , such as the length of the content, the transport encoding, which part of the resource is carried in the data (for multi-part messages), and message integrity checks. They differ from the Representation headers, which describe the encoding, media type, language, and other characteristics of the resource, and allow the underlying data to be interpreted. These headers were defined as "Payload headers" in RFC 7231, but are now referred to as "Content headers" because data contained in HTTP/2 and HTTP/3 frame payloads could be header data, body data, or other control information. Later HTTP specifications don't mention "content headers" or expand on the list of relevant headers, but the semantics remain the same, so this way of classifying headers is still useful. Note: There is some overlap between content headers and representation headers. These headers may be present in both HTTP request and response messages and include:
In this article
See also
- HTTP headers
- Related glossary terms:
- RFC 9110, section 6.4.1: Content semantics, specifically Appendix B.3.: Changes from RFC 7231
- RFC 7231, section 3.3: Payload Semantics