@@ -16,67 +16,67 @@ const httpSocketSetup = common.httpSocketSetup;
16
16
const OutgoingMessage = require ( '_http_outgoing' ) . OutgoingMessage ;
17
17
18
18
const STATUS_CODES = exports . STATUS_CODES = {
19
- 100 : 'Continue' ,
20
- 101 : 'Switching Protocols' ,
21
- 102 : 'Processing' , // RFC 2518, obsoleted by RFC 4918
22
- 200 : 'OK' ,
23
- 201 : 'Created' ,
24
- 202 : 'Accepted' ,
25
- 203 : 'Non-Authoritative Information' ,
26
- 204 : 'No Content' ,
27
- 205 : 'Reset Content' ,
28
- 206 : 'Partial Content' ,
29
- 207 : 'Multi-Status' , // RFC 4918
30
- 208 : 'Already Reported' ,
31
- 226 : 'IM Used' ,
32
- 300 : 'Multiple Choices' ,
33
- 301 : 'Moved Permanently' ,
34
- 302 : 'Found' ,
35
- 303 : 'See Other' ,
36
- 304 : 'Not Modified' ,
37
- 305 : 'Use Proxy' ,
38
- 307 : 'Temporary Redirect' ,
39
- 308 : 'Permanent Redirect' , // RFC 7238
40
- 400 : 'Bad Request' ,
41
- 401 : 'Unauthorized' ,
42
- 402 : 'Payment Required' ,
43
- 403 : 'Forbidden' ,
44
- 404 : 'Not Found' ,
45
- 405 : 'Method Not Allowed' ,
46
- 406 : 'Not Acceptable' ,
47
- 407 : 'Proxy Authentication Required' ,
48
- 408 : 'Request Timeout' ,
49
- 409 : 'Conflict' ,
50
- 410 : 'Gone' ,
51
- 411 : 'Length Required' ,
52
- 412 : 'Precondition Failed' ,
53
- 413 : 'Payload Too Large' ,
54
- 414 : 'URI Too Long' ,
55
- 415 : 'Unsupported Media Type' ,
56
- 416 : 'Range Not Satisfiable' ,
57
- 417 : 'Expectation Failed' ,
58
- 418 : 'I\'m a teapot' , // RFC 2324
59
- 421 : 'Misdirected Request' ,
60
- 422 : 'Unprocessable Entity' , // RFC 4918
61
- 423 : 'Locked' , // RFC 4918
62
- 424 : 'Failed Dependency' , // RFC 4918
63
- 425 : 'Unordered Collection' , // RFC 4918
64
- 426 : 'Upgrade Required' , // RFC 2817
65
- 428 : 'Precondition Required' , // RFC 6585
66
- 429 : 'Too Many Requests' , // RFC 6585
67
- 431 : 'Request Header Fields Too Large' , // RFC 6585
68
- 500 : 'Internal Server Error' ,
69
- 501 : 'Not Implemented' ,
70
- 502 : 'Bad Gateway' ,
71
- 503 : 'Service Unavailable' ,
72
- 504 : 'Gateway Timeout' ,
73
- 505 : 'HTTP Version Not Supported' ,
74
- 506 : 'Variant Also Negotiates' , // RFC 2295
75
- 507 : 'Insufficient Storage' , // RFC 4918
76
- 508 : 'Loop Detected' ,
77
- 509 : 'Bandwidth Limit Exceeded' ,
78
- 510 : 'Not Extended' , // RFC 2774
79
- 511 : 'Network Authentication Required' // RFC 6585
19
+ 100 : 'Continue' ,
20
+ 101 : 'Switching Protocols' ,
21
+ 102 : 'Processing' , // RFC 2518, obsoleted by RFC 4918
22
+ 200 : 'OK' ,
23
+ 201 : 'Created' ,
24
+ 202 : 'Accepted' ,
25
+ 203 : 'Non-Authoritative Information' ,
26
+ 204 : 'No Content' ,
27
+ 205 : 'Reset Content' ,
28
+ 206 : 'Partial Content' ,
29
+ 207 : 'Multi-Status' , // RFC 4918
30
+ 208 : 'Already Reported' ,
31
+ 226 : 'IM Used' ,
32
+ 300 : 'Multiple Choices' ,
33
+ 301 : 'Moved Permanently' ,
34
+ 302 : 'Found' ,
35
+ 303 : 'See Other' ,
36
+ 304 : 'Not Modified' ,
37
+ 305 : 'Use Proxy' ,
38
+ 307 : 'Temporary Redirect' ,
39
+ 308 : 'Permanent Redirect' , // RFC 7238
40
+ 400 : 'Bad Request' ,
41
+ 401 : 'Unauthorized' ,
42
+ 402 : 'Payment Required' ,
43
+ 403 : 'Forbidden' ,
44
+ 404 : 'Not Found' ,
45
+ 405 : 'Method Not Allowed' ,
46
+ 406 : 'Not Acceptable' ,
47
+ 407 : 'Proxy Authentication Required' ,
48
+ 408 : 'Request Timeout' ,
49
+ 409 : 'Conflict' ,
50
+ 410 : 'Gone' ,
51
+ 411 : 'Length Required' ,
52
+ 412 : 'Precondition Failed' ,
53
+ 413 : 'Payload Too Large' ,
54
+ 414 : 'URI Too Long' ,
55
+ 415 : 'Unsupported Media Type' ,
56
+ 416 : 'Range Not Satisfiable' ,
57
+ 417 : 'Expectation Failed' ,
58
+ 418 : 'I\'m a teapot' , // RFC 2324
59
+ 421 : 'Misdirected Request' ,
60
+ 422 : 'Unprocessable Entity' , // RFC 4918
61
+ 423 : 'Locked' , // RFC 4918
62
+ 424 : 'Failed Dependency' , // RFC 4918
63
+ 425 : 'Unordered Collection' , // RFC 4918
64
+ 426 : 'Upgrade Required' , // RFC 2817
65
+ 428 : 'Precondition Required' , // RFC 6585
66
+ 429 : 'Too Many Requests' , // RFC 6585
67
+ 431 : 'Request Header Fields Too Large' , // RFC 6585
68
+ 500 : 'Internal Server Error' ,
69
+ 501 : 'Not Implemented' ,
70
+ 502 : 'Bad Gateway' ,
71
+ 503 : 'Service Unavailable' ,
72
+ 504 : 'Gateway Timeout' ,
73
+ 505 : 'HTTP Version Not Supported' ,
74
+ 506 : 'Variant Also Negotiates' , // RFC 2295
75
+ 507 : 'Insufficient Storage' , // RFC 4918
76
+ 508 : 'Loop Detected' ,
77
+ 509 : 'Bandwidth Limit Exceeded' ,
78
+ 510 : 'Not Extended' , // RFC 2774
79
+ 511 : 'Network Authentication Required' // RFC 6585
80
80
} ;
81
81
82
82
const kOnExecute = HTTPParser . kOnExecute | 0 ;
0 commit comments