http: use official IANA Status Codes · nodejs/node@8be6060
@@ -27,9 +27,11 @@ const STATUS_CODES = exports.STATUS_CODES = {
2727205 : 'Reset Content',
2828206 : 'Partial Content',
2929207 : 'Multi-Status', // RFC 4918
30+208 : 'Already Reported',
31+226 : 'IM Used',
3032300 : 'Multiple Choices',
3133301 : 'Moved Permanently',
32-302 : 'Moved Temporarily',
34+302 : 'Found',
3335303 : 'See Other',
3436304 : 'Not Modified',
3537305 : 'Use Proxy',
@@ -43,17 +45,18 @@ const STATUS_CODES = exports.STATUS_CODES = {
4345405 : 'Method Not Allowed',
4446406 : 'Not Acceptable',
4547407 : 'Proxy Authentication Required',
46-408 : 'Request Time-out',
48+408 : 'Request Timeout',
4749409 : 'Conflict',
4850410 : 'Gone',
4951411 : 'Length Required',
5052412 : 'Precondition Failed',
51-413 : 'Request Entity Too Large',
52-414 : 'Request-URI Too Large',
53+413 : 'Payload Too Large',
54+414 : 'URI Too Long',
5355415 : 'Unsupported Media Type',
54-416 : 'Requested Range Not Satisfiable',
56+416 : 'Range Not Satisfiable',
5557417 : 'Expectation Failed',
5658418 : 'I\'m a teapot', // RFC 2324
59+421 : 'Misdirected Request',
5760422 : 'Unprocessable Entity', // RFC 4918
5861423 : 'Locked', // RFC 4918
5962424 : 'Failed Dependency', // RFC 4918
@@ -66,10 +69,11 @@ const STATUS_CODES = exports.STATUS_CODES = {
6669501 : 'Not Implemented',
6770502 : 'Bad Gateway',
6871503 : 'Service Unavailable',
69-504 : 'Gateway Time-out',
72+504 : 'Gateway Timeout',
7073505 : 'HTTP Version Not Supported',
7174506 : 'Variant Also Negotiates', // RFC 2295
7275507 : 'Insufficient Storage', // RFC 4918
76+508 : 'Loop Detected',
7377509 : 'Bandwidth Limit Exceeded',
7478510 : 'Not Extended', // RFC 2774
7579511 : 'Network Authentication Required' // RFC 6585