Visual RFC.
ALL RFCs / RFC 5789
Read the RFC ↗
RFC 5789 / MECHANISM GUIDE

Atomic modification

02

A server must apply the entire set of changes atomically or apply none.

RFC 5789 · § 2EXAMPLE
3 / 3
03
Keep original state

Neither staged modification becomes the visible final resource.

Atomic modificationA server must apply the entire set of changes atomically or apply none.Atomic modificationOriginal: A=1Original: B=2Stage: A=3Stage: B=invalidRollback: visible state is still A=1, B=2

Key idea: Do not expose an intermediate partially patched representation.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Do not expose an intermediate partially patched representation.
  • If the complete patch cannot be applied, none of its changes are applied.
  • Atomicity covers all directly affected files when the patch format spans them.

Examples are illustrative. Consult the linked RFC and its errata for implementation details.

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

A request starts a conversation.

A client asks for a resource. A server sends a response. The method, address, headers, and status explain what that conversation means.

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.

All chapters in RFC 5789

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 ↗