Module

isLengthRequired

Validate HTTP Status code 411 type CLIENT ERROR

Parameters:
Name Type Description
statusCode Integer

The HTTP Status code

View Source client-error/is-length-required.js, line 3

When the statusCode is different then 411

HTTPStatusError
Boolean