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

Related guides

Longer-form reading on this topic from the knowledge base.

Automate this check

Set up continuous monitoring and get an alert when something breaks. No manual runs to remember.