field Registered
Verified 2026-09-18 · registry updated 2026-08-28

Content-Encoding

Describes content codings applied to a representation.

Content-Encoding is different from Transfer-Encoding: it describes representation compression such as br or gzip.

httpheadercompression

Reference (http)

Content-Encoding: br
Vary: Accept-Encoding

Content-Encoding is different from Transfer-Encoding: it describes representation compression such as br or gzip.

Common mistakes

  • Hashing or signing compressed bytes when the protocol contract expects the selected representation.

IANA registry: http-fields/field-names

Registry reference: RFC 9110, Section 8.4: HTTP Semantics

Permalink: https://merginit.com/reference/http/field-content-encoding