Header Accept
The Accept HTTP request header defines which content types (as MIME types) the client can process. The server selects one of the proposals submitted and informs the client through the Content-Type response header. Depending on the context in which the request is made, the browser sets the Accept MIME type on its own.
Syntax
Accept: <MIME-Type>/<MIME-Subtype>
Accept: <MIME-Type>/*
Accept: */*Examples
Accept: text/html
Accept: image/jpeg
Accept: text/html, application/xmlFor reference, see RFC 7231, Section 5.3.2, Accept