code411LengthRequired constant

HttpStatus const code411LengthRequired

An alias representing the lengthRequired constant, offering a direct substitute for it.

For consistency and improved readability, it is recommended to directly use lengthRequired where possible.

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.

Implementation

static const HttpStatus code411LengthRequired = lengthRequired;