Skip to content
← All HTTP Headers
Request

Accept-Encoding

Indicates which content encodings the client can understand.

Syntax

Accept-Encoding: gzip, deflate, br

Example

Accept-Encoding: gzip, deflate, br

Description

The Accept-Encoding header tells the server which compression algorithms the client supports. The server can then compress the response body accordingly, reducing transfer size.

Common values include gzip, deflate, br (Brotli), and identity (no encoding). The * wildcard means any encoding is accepted.

Check if your website sends this header correctly

Check your headers →

Related Articles

Related Headers

Related guides

Longer-form reading on this topic from the knowledge base.

Automate this check

Set up continuous monitoring and get an alert when something breaks. No manual runs to remember.