Content-Length

The header that gives the size of the message body in bytes.

In more detail

It tells the receiver where the message ends. A HEAD response reports the length the body would have had, and a 204 or 304 has no body and so no length to report.

Related terms

Taught in

References