httpstatuses/contents/codes/411.md
WALL-E 62df9e637c Add Python status constants (#57)
* Add Python status constants

* Add Python 2, Python 3+, Python 3.5+ status constants
2016-05-22 00:07:16 +01:00

926 B

set code title references
4 411 Length Required
Rails HTTP Status Symbol Go HTTP Status Constant Symfony HTTP Status Constant Python2 HTTP Status Constant Python3+ HTTP Status Constant Python3.5+ HTTP Status Constant
:length_required http.StatusLengthRequired Response::HTTP_LENGTH_REQUIRED httplib.LENGTH_REQUIRED http.client.LENGTH_REQUIRED http.HTTPStatus.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.