@@ -15,68 +15,68 @@ const httpSocketSetup = common.httpSocketSetup;
1515const OutgoingMessage = require ( '_http_outgoing' ) . OutgoingMessage ;
1616
1717const STATUS_CODES = exports . STATUS_CODES = {
18- 100 : 'Continue' ,
19- 101 : 'Switching Protocols' ,
20- 102 : 'Processing' , // RFC 2518, obsoleted by RFC 4918
21- 200 : 'OK' ,
22- 201 : 'Created' ,
23- 202 : 'Accepted' ,
24- 203 : 'Non-Authoritative Information' ,
25- 204 : 'No Content' ,
26- 205 : 'Reset Content' ,
27- 206 : 'Partial Content' ,
28- 207 : 'Multi-Status' , // RFC 4918
29- 208 : 'Already Reported' ,
30- 226 : 'IM Used' ,
31- 300 : 'Multiple Choices' ,
32- 301 : 'Moved Permanently' ,
33- 302 : 'Found' ,
34- 303 : 'See Other' ,
35- 304 : 'Not Modified' ,
36- 305 : 'Use Proxy' ,
37- 307 : 'Temporary Redirect' ,
38- 308 : 'Permanent Redirect' , // RFC 7238
39- 400 : 'Bad Request' ,
40- 401 : 'Unauthorized' ,
41- 402 : 'Payment Required' ,
42- 403 : 'Forbidden' ,
43- 404 : 'Not Found' ,
44- 405 : 'Method Not Allowed' ,
45- 406 : 'Not Acceptable' ,
46- 407 : 'Proxy Authentication Required' ,
47- 408 : 'Request Timeout' ,
48- 409 : 'Conflict' ,
49- 410 : 'Gone' ,
50- 411 : 'Length Required' ,
51- 412 : 'Precondition Failed' ,
52- 413 : 'Payload Too Large' ,
53- 414 : 'URI Too Long' ,
54- 415 : 'Unsupported Media Type' ,
55- 416 : 'Range Not Satisfiable' ,
56- 417 : 'Expectation Failed' ,
57- 418 : 'I\'m a teapot' , // RFC 2324
58- 421 : 'Misdirected Request' ,
59- 422 : 'Unprocessable Entity' , // RFC 4918
60- 423 : 'Locked' , // RFC 4918
61- 424 : 'Failed Dependency' , // RFC 4918
62- 425 : 'Unordered Collection' , // RFC 4918
63- 426 : 'Upgrade Required' , // RFC 2817
64- 428 : 'Precondition Required' , // RFC 6585
65- 429 : 'Too Many Requests' , // RFC 6585
66- 431 : 'Request Header Fields Too Large' , // RFC 6585
67- 451 : 'Unavailable For Legal Reasons' ,
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
18+ 100 : 'Continue' ,
19+ 101 : 'Switching Protocols' ,
20+ 102 : 'Processing' , // RFC 2518, obsoleted by RFC 4918
21+ 200 : 'OK' ,
22+ 201 : 'Created' ,
23+ 202 : 'Accepted' ,
24+ 203 : 'Non-Authoritative Information' ,
25+ 204 : 'No Content' ,
26+ 205 : 'Reset Content' ,
27+ 206 : 'Partial Content' ,
28+ 207 : 'Multi-Status' , // RFC 4918
29+ 208 : 'Already Reported' ,
30+ 226 : 'IM Used' ,
31+ 300 : 'Multiple Choices' ,
32+ 301 : 'Moved Permanently' ,
33+ 302 : 'Found' ,
34+ 303 : 'See Other' ,
35+ 304 : 'Not Modified' ,
36+ 305 : 'Use Proxy' ,
37+ 307 : 'Temporary Redirect' ,
38+ 308 : 'Permanent Redirect' , // RFC 7238
39+ 400 : 'Bad Request' ,
40+ 401 : 'Unauthorized' ,
41+ 402 : 'Payment Required' ,
42+ 403 : 'Forbidden' ,
43+ 404 : 'Not Found' ,
44+ 405 : 'Method Not Allowed' ,
45+ 406 : 'Not Acceptable' ,
46+ 407 : 'Proxy Authentication Required' ,
47+ 408 : 'Request Timeout' ,
48+ 409 : 'Conflict' ,
49+ 410 : 'Gone' ,
50+ 411 : 'Length Required' ,
51+ 412 : 'Precondition Failed' ,
52+ 413 : 'Payload Too Large' ,
53+ 414 : 'URI Too Long' ,
54+ 415 : 'Unsupported Media Type' ,
55+ 416 : 'Range Not Satisfiable' ,
56+ 417 : 'Expectation Failed' ,
57+ 418 : 'I\'m a teapot' , // RFC 2324
58+ 421 : 'Misdirected Request' ,
59+ 422 : 'Unprocessable Entity' , // RFC 4918
60+ 423 : 'Locked' , // RFC 4918
61+ 424 : 'Failed Dependency' , // RFC 4918
62+ 425 : 'Unordered Collection' , // RFC 4918
63+ 426 : 'Upgrade Required' , // RFC 2817
64+ 428 : 'Precondition Required' , // RFC 6585
65+ 429 : 'Too Many Requests' , // RFC 6585
66+ 431 : 'Request Header Fields Too Large' , // RFC 6585
67+ 451 : 'Unavailable For Legal Reasons' ,
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
8080} ;
8181
8282const kOnExecute = HTTPParser . kOnExecute | 0 ;
0 commit comments