Skip to content
Skip to content
← All HTTP Headers
Request

Accept

Specifies the media types the client can process in the response.

Syntax

Accept: <MIME_type>/<MIME_subtype>, <MIME_type>/*;q=<quality>

Example

Accept: text/html, application/json;q=0.9, */*;q=0.8

Description

The Accept request header tells the server which content types the client can handle. The server uses this to perform content negotiation and return the most appropriate format.

Multiple types can be listed with quality factors (q values) to indicate preference order. If omitted, the server may return any content type.

Check if your website sends this header correctly

Check your headers →

Related Articles

Related Headers