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

Choose the right input

02

Content-Digest covers message content. Repr-Digest covers the entire selected representation data, even when this message carries none or only a range.

RFC 9530 · § 3EXAMPLE
4 / 4
Choose the right inputContent-Digest covers message content. Repr-Digest covers the entire selected representation data, even when this message carries none or only a range. After obtaining all compatible ranges of the same selected representation, the client can reconstruct 19 bytes and recalculate Repr-Digest. Digest fields do not replace range or validator checks.Two fields choose different input scopesCompatible ranges: 0-9 and 10-18Reconstruct the same selected representation0101819 bytes → verify Repr-DigestRange/validator checks still applyRFC9530 · chapter2 · state4 · published/illustrative values
04
Verify after reconstruction

After obtaining all compatible ranges of the same selected representation, the client can reconstruct 19 bytes and recalculate Repr-Digest. Digest fields do not replace range or validator checks.

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

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

With a full selected representation as content, both fields can have the same value. They need not always differ.

  • With a full selected representation as content, both fields can have the same value. They need not always differ.
  • A HEAD response has no content: Content-Digest can hash the empty input while Repr-Digest hashes the selected representation.
  • For a single-range response, Content-Digest hashes the returned content and Repr-Digest hashes the whole selected representation. A slice alone is not enough to recalculate the whole digest.
DETAILS

The range geometry is to scale for 19 bytes. Examples assume compatible data for one selected representation; HTTP range and validator semantics still apply. A multipart response requires its actual content semantics, not this single-range shortcut.

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 ↗