lengthRequired constant
HttpStatus
const lengthRequired
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 lengthRequired = HttpStatus._(
code: HttpStatusCode.lengthRequired,
name: 'Length Required',
description: 'The server refuses to accept the request without '
'a defined Content-Length.',
);