Accept-Encoding

The compression formats the client understands.

Explained

Examples

Example

Accept-Encoding: gzip, deflate, br, zstd

Watch out

Browsers set it themselves, and scripts in a page cannot change it.

Defined in RFC 9110 §12.5.3.

Other common headers