Wiki

Request headers

Clients supply preferences via explicit HTTP headers, which the server audits to decide the best response format:

Accept

Defines the media types that the client is willing to receive.

Accept-Language

Informs the server about the client's language preferences (e.g., en-US, fr).

Accept-Encoding

Identifies what compression algorithms (gzip, deflate, br) the client understands.

On this page

Backlinks

Metadata

{
  "id": "wiki:negotiation",
  "type": "TechArticle",
  "name": "Content negotiation",
  "description": "Managing resource representations through HTTP request headers."
}