Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Web & CSS

Accept-Patch Builder & Analyzer

Generate or analyze Accept-Patch response values that advertise supported PATCH document formats. Validates media types and parameters, detects duplicates and wildcard scope, and explains that capability does not grant authorization.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

What the header advertises

An Accept-Patch response value tells a client which PATCH document formats the resource will accept, so a server that handles JSON Merge Patch might reply with application/merge-patch+json. Build mode turns a comma-separated list of media types into a clean header value, and analyze mode validates a pasted value and reports each type with its status.

Media types and parameters

Each entry is checked as a real media type: the type and subtype tokens must be valid, and parameters after a semicolon need a token key and a value. Duplicate types and an overly broad */* wildcard are both flagged, because a capability that claims to accept everything deserves a second look.

Capability is not authorization

Advertising a format is only a hint about what the endpoint can parse. Whether a given client is allowed to PATCH is still decided by authentication and authorization, so the tool notes this in its results rather than implying that listing a media type grants write access.

Parsing happens locally

The header text is tokenised and validated entirely in this tab. No value is sent to a server, no request is made, and nothing is stored, so API capability values can be pasted in private.

Questions

Does Accept-Patch allow a client to PATCH?

No. It advertises supported document formats; authentication and authorization still control whether a PATCH request is accepted.

Where is Accept-Patch sent?

It is commonly sent in responses to advertise formats accepted by PATCH, including OPTIONS responses.

What happens for an unsupported format?

A server may reject the request with 415 Unsupported Media Type.

See category