4×× Client Error

411 Length Required

The server refuses to accept the request without a defined Content-Length1.

The client MAY repeat the request if it adds a valid Content-Length header field containing the length of the message body in the request message.

411 Code References

Rails HTTP Status Symbol :length_required

Go HTTP Status Constant http.StatusLengthRequired

Symfony HTTP Status Constant Response::HTTP_LENGTH_REQUIRED

← Return to httpstatuses.com