Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Add HTTP Status codes from RFC 6585
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Cavage authored and isaacs committed May 5, 2012
1 parent ceb51dd commit 5871c81
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/http.js
Expand Up @@ -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',
Expand All @@ -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
};


Expand Down

0 comments on commit 5871c81

Please sign in to comment.