field Registered
Verified 2026-09-18 · registry updated 2026-08-28

Accept

Lists the representation media types a client can read.

Use Accept for response content negotiation. A server can return 406 when none of its representations match, but many APIs choose a documented default.

httpheadercontent-negotiation

Reference (http)

Accept: application/json, text/plain;q=0.8

Use Accept for response content negotiation. A server can return 406 when none of its representations match, but many APIs choose a documented default.

Common mistakes

  • Treating Accept as a request body type; Content-Type describes the request body.

IANA registry: http-fields/field-names

Registry reference: RFC 9110, Section 12.5.1: HTTP Semantics

Permalink: https://merginit.com/reference/http/field-accept