files/en-us/web/http/reference/headers/content-length/index.md
The HTTP Content-Length header indicates the size, in bytes, of the message body sent to the recipient.
Content-Length is limited in that the message size must be known up front, before sending the headers, which is a problem when content is dynamically generated or streamed.
Content-Length is redundant, because the content length may be inferred from DATA frames. It may still be included for backwards compatibility.Content-Length: <length>
<length>
{{Specifications}}
{{Compat}}