Visual RFC.
ALL RFCs / RFC 9530
Read the RFC ↗
RFC 9530 / HTTP INTEGRITY

Follow representation semantics

04

PATCH is an HTTP method that applies a patch document. For state-changing methods, identify what the enclosed representation describes.

RFC 9530 · § 3.1EXAMPLE
4 / 4
Follow representation semanticsPATCH is an HTTP method that applies a patch document. For state-changing methods, identify what the enclosed representation describes. In the published 404 example, the enclosed problem details are the representation being described. The digest is not calculated over a nonexistent target book.Method semantics identify the representationHTTP 404 · problem detailsRepr-Digest:sha-256=:EXB0S2VF2H7ijkAVJkH1Sm0pBho0iDZcvVUHHXTTZSA=:Hash the enclosed error representationNot a nonexistent target bookRFC9530 · chapter4 · state4 · published/illustrative values
04
Digest the error representation

In the published 404 example, the enclosed problem details are the representation being described. The digest is not calculated over a nonexistent target book.

Source for this drawing: RFC 9530 · Read RFC section 3.1 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

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

KEY POINT

A PATCH request representation digest is computed on the patch document, not the future patched resource.

  • A PATCH request representation digest is computed on the patch document, not the future patched resource.
  • In a response that describes request status, Repr-Digest MUST cover the enclosed representation. If there is a referenced resource, it MUST cover that resource’s selected representation according to HTTP semantics.
  • Content-Location is representation metadata; Location is not and does not determine Repr-Digest. An error response can describe an error representation instead of the target resource.
DETAILS

The full published byte examples, including indentation and LF, are computationally checked. A 204 can still carry a selected-representation digest when the method semantics identify it; absence of content does not universally mean the representation digest is empty.

Read the RFC section ↗

All chapters in RFC 9530

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

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

RFC status and corrections ↗