HTTP headers / request header

Accept-Encoding

Accept-Encoding: gzip, br, zstd

What it does

Lists the compression algorithms the client understands. The server compresses accordingly and labels the result with Content-Encoding.

The gotcha

HTTP clients usually handle this (and decompression) automatically — setting it manually without decompressing manually is a classic garbled-body bug.

Debugging headers on a phone

The fastest way to see what Accept-Encoding is actually doing is to send the request and read both sides raw — ReqPad shows auto-generated and custom headers for every request, on all six protocols, with history. Related references: status codes · Authorization · Accept · Accept-Language · If-None-Match · If-Match · If-Modified-Since

Inspect Accept-Encoding on a live request.

Build the request, send it, read raw headers and timing — from your iPhone. Free to start.