Browse Source

Add HTTP Status codes from RFC 6585

See: http://tools.ietf.org/html/rfc6585
v0.9.1-release
Mark Cavage 13 years ago
committed by isaacs
parent
commit
5871c81181
  1. 6
      lib/http.js

6
lib/http.js

@ -221,6 +221,9 @@ var STATUS_CODES = exports.STATUS_CODES = {
424 : 'Failed Dependency', // RFC 4918 424 : 'Failed Dependency', // RFC 4918
425 : 'Unordered Collection', // RFC 4918 425 : 'Unordered Collection', // RFC 4918
426 : 'Upgrade Required', // RFC 2817 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', 500 : 'Internal Server Error',
501 : 'Not Implemented', 501 : 'Not Implemented',
502 : 'Bad Gateway', 502 : 'Bad Gateway',
@ -230,7 +233,8 @@ var STATUS_CODES = exports.STATUS_CODES = {
506 : 'Variant Also Negotiates', // RFC 2295 506 : 'Variant Also Negotiates', // RFC 2295
507 : 'Insufficient Storage', // RFC 4918 507 : 'Insufficient Storage', // RFC 4918
509 : 'Bandwidth Limit Exceeded', 509 : 'Bandwidth Limit Exceeded',
510 : 'Not Extended' // RFC 2774 510 : 'Not Extended', // RFC 2774
511 : 'Network Authentication Required' // RFC 6585
}; };

Loading…
Cancel
Save