lightmy.day

HTTP headers

Content-Encoding HTTP Header Meaning

Content-Encoding says which encoding was applied to the body.

Meaning

The recipient must decode the body, such as gzip or br, before interpreting the media type.

Where it appears

Servers send it on compressed responses, often negotiated from Accept-Encoding.

What to check

Check that the body is actually encoded as declared and that Content-Type describes the decoded content.

Example

Content-Encoding: br

References

Related HTTP headers

Related HTTP status codes