Content-Encoding
The response header naming the compression actually applied.
Overview
The response header naming the compression actually applied.
Compression, caching, CORS, cookies and security policy headers.
This term appears across 2 tools in the HTTP / Web category. Use the examples and checks below to see how it behaves in practice.
Where you see it
The client sends Accept-Encoding: br, gzip, or identity and reads Content-Encoding on the response.
Compression CheckerDetect a CDN that strips or overrides Content-Encoding.
Compression CheckerIt records Content-Type, Content-Language, Content-Encoding and Vary for each response.
Content Negotiation
Examples
Example values show how this term appears in practice; run a live check for current values.
Row labels and notes are localized; values keep the source form used by the record or tool.
| Case | Values | Note |
|---|---|---|
| gzip | Content-Encoding: gzip | Value captured at review time. |
| br | Content-Encoding: br | Value captured at review time. |
| zstd | Content-Encoding: zstd | Value captured at review time. |
| Negotiation | Vary: Accept-Encoding | Value captured at review time. |
| Double compression | do not gzip already compressed images | Illustrative example, not a live observation. |
How to use it
- Open Content Negotiation and run it against a real target such as https://example.com.
- Compare the raw answer with the definition and the example above; do not rely on the summary alone.
- If the answer differs, use the troubleshooting checks below and confirm with a second source before changing anything.
What to watch for
- Compression can leak secrets through size differences; do not combine Content-Encoding with reflected user input or secrets in one response.
- Content-Encoding can be cached for its TTL, so a change may look missing until caches expire; compare the record's TTL with the age of the answer.
- A single check shows one target from one environment; confirm Content-Encoding with a second tool, device or source before you change anything.
Why it matters
Compression, caching, CORS, cookies and security policy headers.
2 tools use this term
HTTP / WebWhere to check it
Use Content Negotiation, Compression Checker to inspect it directly. Each tool shows the raw result and its limitations.
HTTP / WebCommon problems and fixes
Why is gzip served even though I sent br?
The server or CDN may not have Brotli enabled, may only use it for static assets, or may have negotiated a lower preference. Check the response's Content-Encoding and the CDN configuration.
From Compression CheckerTwo checks disagree: compare timestamps, TTLs, resolver location and client configuration before choosing one.
Tool limitation: read the raw output and confirm with a second tool or vantage point.
Used in these tools
2 toolsStandards and references
Frequently asked questions
What is Content-Encoding?+
The response header naming the compression actually applied.
How do I check Content-Encoding?+
Use Content Negotiation, Compression Checker to inspect it directly. Each tool shows the raw result and its limitations.
Why does Content-Encoding matter?+
It affects how HTTP / Web results are read. Compression, caching, CORS, cookies and security policy headers.
What is a common mistake?+
Caching without Vary. A shared cache can serve the wrong language or encoding for Content-Encoding.
How this page is written
Definitions are compiled from the 244 tool pages, checked against the standards below, and reviewed by Steve. Each term links to the tools where it is used.


