Visual RFC.
ALL RFCs / RFC 9110
Read the RFC ↗
RFC 9110 / WEB FOUNDATIONS

Fields, content & representations

03

The same resource can have many representations. Fields explain how to interpret the selected bytes.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

DIAGRAM§ 8 ↗
RFC 9110 · § 8EXAMPLE
3 / 3
Fields, content & representationsA resource has HTML and JSON variants; selected content is accompanied by its media type, content coding, and validator.A representation carries metadataOne resource can have multiple forms/guideHTMLtext/htmlJSONapplication/jsonSelected representationContent-Type: application/jsonContent-Encoding: gzipETag: "guide-7"Decode gzip, then interpret JSONDecode and interpret using the metadata
03
Read the content correctly.

The client uses metadata rather than guessing the meaning of arbitrary bytes.

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
KEY POINT

Keep the resource, representation, and message distinct.

  • Content-Type identifies the media type; Content-Encoding describes representation codings.
  • Content-Length must agree with its defined meaning and framing constraints.
  • Field names are case-insensitive; trailers have additional restrictions on permitted use and merging.
DETAILS

A resource is an abstraction. A representation conveys its state, while message content depends on the method and response status.

Read the RFC section ↗

Diagrams simplify the RFC. Read the linked sections for complete requirements.

Privacy
All chapters in this RFC
  1. One meaning, many transports
  2. Targets, origins & intermediaries
  3. Fields, content & representations
  4. Methods & retry safety
  5. Content negotiation
  6. Validators & conditional requests
  7. Range requests
  8. Status codes & redirects
  9. Caches & revalidation
  10. Authentication, security & extensions
RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗