DevKits

Request negotiation · Request header

Accept-Encoding

Which content encodings (compressions) the client accepts.

What is Accept-Encoding?

Advertises which compression algorithms the client can decode. Servers pick one and set Content-Encoding to match.

Typical usage

Set by every modern browser and HTTP client automatically.

Examples

Accept-Encoding: gzip, br, deflate

Specification

RFC 9110 §12.5.3

Related headers