HTTP headers | Accept (original) (raw)

Last Updated : 12 Jul, 2025

The HTTP Accept header is a request type header. The Accept header is used to inform the server by the client that which content type is understandable by the client expressed as MIME-types. By using the Content-negotiation the server selects a proposal of the content type and informs the client of its choice with the Content-type response header. If the Accept header is not present in the request, then the server assumes that the client accepts all types of media.Syntax:

Accept: / | /* | /

Directives: This header accept below mentioned directives:

Example:

To check this Accept in action go to Inspect Element -> Network check the request header for Accept like below, Accept is highlighted you can see. Supported Browsers: The browsers are compatible with HTTP Accept header are listed below: