Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add HTTP Status codes from RFC 6585

  • Loading branch information
Mark Cavage authored and isaacs committed Dec 19, 2011
1 parent ceb51dd commit 5871c81181bc339e2265e56e1ba58bf3be73708d
Showing with 5 additions and 1 deletion.
  1. +5 −1 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
};


0 comments on commit 5871c81

Please sign in to comment.
You can’t perform that action at this time.