411 Length Required

Estimated reading: 1 minute 676 views

This response error indicates that the request cannot be completed without a Content-Length header. Alternatively, the error can occur if an invalid Content-Length is specified.

The user should resubmit their request with the appropriate header data to get the server to respond. Be sure to verify the appropriate header values before submitting the server request.

Most users will not see this error as it’s specific to a request usually made by web developers.

If the error is unexpected and persists the user should contact the appropriate server support.

The HyperText Transfer Protocol (HTTP) 411 Length Required client error response code indicates that the server refuses to accept the request without a defined Content-Length header.

Note: by specification, when sending data in a series of chunks, the Content-Length header is omitted and at the beginning of each chunk you need to add the length of the current chunk in hexadecimal format. See Transfer-Encoding for more details.


411 Length Required


RFC 7231, section 6.5.10: 411 Length RequiredHypertext Transfer Protocol (HTTP/1.1): Semantics and Content