
About
A representation header (or representation metadata) is an HTTP header that describes how to interpret the data contained in the message; representation headers are not mutually exclusie with content headers1.
Examples
The content in a particular message might be encoded for transport, the whole resource might be formatted as a particular media type such as XML, JSON, HTML or Markdown, localised to a particular written language or geographical region, and/ or compressed using a particular algorithm. The representation headers allow the underlying data to be extracted and understood; the underlying resource is semantically the same in each case, but its representation is different.
List
- Content-Length header
- Content-Range header
- Content-Type header
- Content-Encoding
- Content-Location header
- Content-Language header
- Validators used in conditional requests, such as:
Anki
Links
References
MDN. “Representation headers”. Available at: https://developer.mozilla.org/en-US/docs/Glossary/Representation_header. (Accessed: ). ↩︎