Content-Encoding Header Explained

What the HTTP Content-Encoding header does and when it's used.

Published October 16, 2026

The Content-Encoding header indicates what compression was applied to the response body.

Key points

  • Common values include gzip, br (Brotli), and deflate
More HTTP articles