4×× CLIENT ERROR

411 LENGTH REQUIRED

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

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.

Content-Length RFC7230 Section 3.3.2

411 LENGTH REQUIRED Source: RFC7231 Section 6.5.10

 

411 CODE REFERENCES

Rails HTTP Status Symbol :length_required

Go HTTP Status Constant http.StatusLengthRequired

Symfony HTTP Status Constant Response::HTTP_LENGTH_REQUIRED

Python2 HTTP Status Constant httplib.LENGTH_REQUIRED

Python3+ HTTP Status Constant http.client.LENGTH_REQUIRED

Python3.5+ HTTP Status Constant http.HTTPStatus.LENGTH_REQUIRED

 

Recommended: