GET reads. PUT replaces. DELETE deletes. HEAD asks the same question as GET and declines the body. Every one of those verbs tells you what it means before you open the envelope.

PATCH does not. PATCH hands over a set of instructions and makes the meaning of the request depend on a label elsewhere in the message — the media type. That is the bargain RFC 5789 struck in March 2010, and it is the moment HTTP stopped being able to say what one of its own methods does without asking a header first.

RFC 5789, "PATCH Method for HTTP", was written by Lisa Dusseault and James M. Snell and published as a Proposed Standard in March 2010. Its opening line is the entire justification: "The existing HTTP PUT method only allows a complete replacement of a document." Applications, the memo adds, "require a feature to do partial resource modification." The fix was to let the body carry a "patch document" identified by a media type — which is why the IANA HTTP Method Registry now lists a verb whose meaning it does not contain.

PUT says everything by saying almost nothing

PUT is easy to describe because it says almost nothing beyond "here is the new version." The body is what the resource should look like after the request; the server replaces what it has. The client ships the whole document, and the protocol knows what the request means without reading a header beyond the obvious ones.

That bluntness has a cost the memo names plainly: to change one field, you send everything. For a single flag inside a large record, PUT is a delivery truck sent for a light bulb.

The paragraph where PATCH stops being PUT

RFC 5789 spells out the difference in one paragraph, and it is worth reading twice. In PUT, "the enclosed entity is considered to be a modified version of the resource stored on the origin server, and the client is requesting that the stored version be replaced." With PATCH, "the enclosed entity contains a set of instructions describing how a resource currently residing on the origin server should be modified to produce a new version."

Read that again. The body is no longer the resource. It is a program for producing the resource. And a program needs a language.

The method rented out its meaning

Once the body is instructions, "instructions in what language" has to be answered, and RFC 5789 answers it with a media type. The format is called a patch document, and the format is not defined in the memo at all.

That is the quiet structural change. Before PATCH, an HTTP method carried its meaning with it. After PATCH, one method's semantics depend on a label elsewhere in the message — and the memo keeps admitting the dependency. A malformed document gets 400, and what counts as malformed depends on the patch document chosen. A format the server does not support gets 415, and that response "SHOULD include an Accept-Patch response header" so the client learns what the server does accept.

A document that is understood but cannot be applied gets 422 — the memo's own example is a patch that would leave a well-formed XML document no longer well-formed.

PATCH is neither safe nor idempotent, and the memo says so

Two lines in section 2 are the honest part. PATCH "is neither safe nor idempotent" — a patch may be applied twice and produce a different result the second time, and it may change things the client never mentioned: it "MAY have side effects on other resources; i.e., new resources may be created, or existing ones modified, by the application of a PATCH."

The memo also warns that collisions between PATCH requests can be more dangerous than PUT collisions, because some patch formats must operate from a known base point or they will corrupt the resource. Its remedy is a conditional request — a strong ETag in If-Match — so a patch written against a stale version fails instead of landing on the wrong state. The memo's own example uses a placeholder media type, application/example, because it was defining a method, not a format — a bit like publishing a postal standard and writing "something" in the contents field.

400, 415, 422: the failure ladder PATCH invented

Section 2.2 is a small catalogue of how a patch can go wrong, and the order matters. The server first asks whether it can read the language — 415 if it cannot. Then whether the sentence parses — 400 if it does not. Then whether the instruction can actually be carried out against the current state — 422 if it cannot. Underneath all of it sits a rule with no equivalent in PUT: the server must apply the whole set of changes or none at all. No half-applied patches. No resource left mid-surgery.

That is a different ladder from PUT, where the server compares a document against its own rules and accepts or rejects the replacement. PATCH made failure a design surface, because a patch can be perfectly grammatical and still be wrong.

The media types that made PATCH real

A method that defines nothing is only useful once somebody defines something. The formats arrived over the following years, and they show exactly what RFC 5789 had bought.

RFC 6902, JSON Patch, landed in April 2013 with the media type application/json-patch+json: an array of operations — add, remove, replace, move, copy, test — applied in order. The "test" operation is the clever part. It lets a client assert what the document should contain before the change, so a patch written against the wrong version fails cleanly instead of quietly mangling the record.

RFC 7386, JSON Merge Patch, followed in October 2014 as application/merge-patch+json — a simpler, more forgiving format where the patch looks like the document it wants to produce, and null means delete. Its co-author was James Snell, the same man who had co-written PATCH four years earlier.

XML had got there first. RFC 5261, an XML patch framework built on XPath selectors with the media type application/xml-patch+xml, was published in September 2008 — eighteen months before the method that would carry it. The format existed. The verb did not.

The lock-in nobody negotiated

Choosing a patch format is not choosing a syntax. It is choosing a semantics, a compatibility story and a maintenance schedule written by somebody else. A JSON Patch document is an ordered list of operations with a "test" verb that can abort the whole thing. A JSON Merge Patch document is a shape with nulls that mean delete. Same method, same URL, same verb — different answers to what happens when two clients collide, what a retry does, and what "the same request twice" even means.

That is the lock-in RFC 5789 created in exchange for the lock-in it removed. Before PATCH, every API invented its own partial-update verb and every client had to learn it. After PATCH, every client learns one verb and then has to learn the format behind it. The verb is standard. The meaning is not.

The IANA method registry lists the verb, not the meaning

Look up PATCH in the IANA HTTP Method Registry and you find two columns, Safe and Idempotent, both reading "no", and a reference that points away from the registry to RFC 5789. The registry lists the verb. It does not contain it.

That is the trade RFC 5789 made, and it is a better trade than it first looks. HTTP did not try to solve partial update. It noticed that every application was inventing one, named the method, and pushed the hard part out to the media types — which can be defined one at a time, by the people who need them, without another trip to the method registry. The core stayed small. The variety moved to the edges. That is how a protocol survives thirty years of people wanting it to do something new.

The cost is real and permanent. HTTP now has a verb whose meaning is not in HTTP, and a proxy that wants to retry a PATCH has to read a label and trust a format it may not implement. RFC 9110, the 2022 rewrite that absorbed PATCH into the core semantics, still carries the warning: the method is not safe, and whether it is idempotent depends entirely on the document it is carrying.

Every other method in HTTP tells you what it does. PATCH tells you where to look.