The Content-Length header specifies the length (in bytes) of the content, both for requests and responses.
The Content-Length header specifies the length (in bytes) of the content, both for requests and responses. It is especially important when using persistent connections, so the end of one message and the start of the next can be delineated. It is not used for chunked content.