Content-Encoding
How the body was compressed, such as gzip or br (Brotli).
Explained
Examples
Example
Content-Encoding: brWatch out
Content-Length then counts the compressed bytes. Compressing an already compressed file (a JPEG, a ZIP) wastes time for no gain.
Defined in RFC 9110 §8.4.