// http header · request header
Content-Length
Size of the body in bytes
What the Content-Length header does
Content-Length is the size of the body in bytes. It lets the receiver know when the message is complete and enables progress indicators. With chunked transfer encoding it's omitted, since the length isn't known up front.
Example
Content-Length: 348Where it's used
Content-Length is a request header. Request headers are sent by the client to describe the request and what the client can accept.