Returns the numeric status code for a known HTTP status message. The message is case-insensitive. An error is thrown for an unknown status message.
status.codes
Returns an array of all the status codes as Integers.
status.code[msg]
Returns the numeric status code for a known status message (in lower-case), otherwise undefined.
status.empty[code]
Returns true if a status code expects an empty body.
status.message[code]
Returns the string message for a known numeric status code, otherwise undefined. This object is the same format as the Node.js http module http.STATUS_CODES.
status.redirect[code]
Returns true if a status code is a valid redirect status.