Atomic modification
02A server must apply the entire set of changes atomically or apply none.
DIAGRAMRead RFC section 2 ↗
RFC 5789 · § 2EXAMPLE
3 / 3
03
Keep original state
Neither staged modification becomes the visible final resource.
Key idea: Do not expose an intermediate partially patched representation.
Rules & examples
Do not expose an intermediate partially patched representation.
- 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.
Read the updated RFC section ↗