diff --git a/lib/http.js b/lib/http.js index b8d3341627..2019514645 100644 --- a/lib/http.js +++ b/lib/http.js @@ -221,6 +221,9 @@ var STATUS_CODES = exports.STATUS_CODES = { 424 : 'Failed Dependency', // RFC 4918 425 : 'Unordered Collection', // RFC 4918 426 : 'Upgrade Required', // RFC 2817 + 428 : 'Precondition Required', // RFC 6585 + 429 : 'Too Many Requests', // RFC 6585 + 431 : 'Request Header Fields Too Large',// RFC 6585 500 : 'Internal Server Error', 501 : 'Not Implemented', 502 : 'Bad Gateway', @@ -230,7 +233,8 @@ var STATUS_CODES = exports.STATUS_CODES = { 506 : 'Variant Also Negotiates', // RFC 2295 507 : 'Insufficient Storage', // RFC 4918 509 : 'Bandwidth Limit Exceeded', - 510 : 'Not Extended' // RFC 2774 + 510 : 'Not Extended', // RFC 2774 + 511 : 'Network Authentication Required' // RFC 6585 };