Skip to content
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