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

Discover patch formats

04

Accept-Patch lists the patch media types accepted for the target resource.

RFC 5789 · § 3.1EXAMPLE
3 / 3
03
Read Accept-Patch

Select a supported document format rather than assuming arbitrary JSON works.

Discover patch formatsAccept-Patch lists the patch media types accepted for the target resource.Discover patch formatsClientServerOPTIONS /itemAllow: GET, PATCHAccept-Patch: application/json-patch+jsonChoose a supported format, not arbitrary JSON

Key idea: Accept-Patch should appear in OPTIONS responses for PATCH-capable resources.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Accept-Patch should appear in OPTIONS responses for PATCH-capable resources.
  • Its presence implicitly indicates PATCH is allowed on that target.
  • Allow advertises methods; Accept-Patch advertises formats.

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 ↗