lookup> Accept-Encoding

Accept-Encoding

can be used by user agents to indicate what response content-codings are acceptable in the response.

请求头RFC7231#5.3.4
NameAccept-Encoding
Type请求头
SpecificationRFC7231#5.3.4

can be used by user agents to indicate what response content-codings are acceptable in the response.

Accept-Encoding: gzip, br

RFC7231#5.3.4

gzipbrdeflateidentity

What does the Accept-Encoding header do?

can be used by user agents to indicate what response content-codings are acceptable in the response.

Is Accept-Encoding 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 headers

About This Tool

This page provides original, human-reviewed information about HTTP headers such as Accept-Encoding, 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.