Skip to content
websniffer.click

Content-Length

Request and response header, content

The size of the body in bytes.

Content-Length: 34567

With compression, it is the compressed size. Responses without Content-Length use chunked transfer encoding (HTTP/1.1) or data frames (HTTP/2).

Check it on a live site

Run a header check on any URL to see whether and how it sends Content-Length.

Specification: RFC 9110 §8.6