kb/data/developer.mozilla.org/en-US/docs/Glossary/Content_header-0.md

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 CSS: Styling language

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

All All web technology

Technologies

Topics

Learn Learn web development

Frontend developer course

Learn HTML

Learn CSS

Learn JavaScript

Tools Discover our tools

About Get to know MDN better

Blog

  1. Glossary
  2. Content header

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