lookup> Accept

Accept

can be used to specify certain media types which are acceptable for the response.

请求头RFC7231#5.3.2
NameAccept
Type请求头
SpecificationRFC7231#5.3.2

can be used to specify certain media types which are acceptable for the response.

Accept: application/json

RFC7231#5.3.2

What does the Accept header do?

can be used to specify certain media types which are acceptable for the response.

Is Accept a request or response header?

It is classified as a request header and can appear in requests or responses depending on context.

Related status codes

Related methods

Related headers

Related MIME types

About This Tool

This page provides original, human-reviewed information about HTTP headers such as Accept, the HTTP Header Reference and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.

If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.