UNPKG

3.78 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.reasonPhraseToStatusCode = exports.statusCodeToReasonPhrase = void 0;
4// Generated file. Do not edit
5exports.statusCodeToReasonPhrase = {
6 "202": "Accepted",
7 "502": "Bad Gateway",
8 "400": "Bad Request",
9 "409": "Conflict",
10 "100": "Continue",
11 "201": "Created",
12 "417": "Expectation Failed",
13 "424": "Failed Dependency",
14 "403": "Forbidden",
15 "504": "Gateway Timeout",
16 "410": "Gone",
17 "505": "HTTP Version Not Supported",
18 "418": "I'm a teapot",
19 "419": "Insufficient Space on Resource",
20 "507": "Insufficient Storage",
21 "500": "Internal Server Error",
22 "411": "Length Required",
23 "423": "Locked",
24 "420": "Method Failure",
25 "405": "Method Not Allowed",
26 "301": "Moved Permanently",
27 "302": "Moved Temporarily",
28 "207": "Multi-Status",
29 "300": "Multiple Choices",
30 "511": "Network Authentication Required",
31 "204": "No Content",
32 "203": "Non Authoritative Information",
33 "406": "Not Acceptable",
34 "404": "Not Found",
35 "501": "Not Implemented",
36 "304": "Not Modified",
37 "200": "OK",
38 "206": "Partial Content",
39 "402": "Payment Required",
40 "308": "Permanent Redirect",
41 "412": "Precondition Failed",
42 "428": "Precondition Required",
43 "102": "Processing",
44 "103": "Early Hints",
45 "426": "Upgrade Required",
46 "407": "Proxy Authentication Required",
47 "431": "Request Header Fields Too Large",
48 "408": "Request Timeout",
49 "413": "Request Entity Too Large",
50 "414": "Request-URI Too Long",
51 "416": "Requested Range Not Satisfiable",
52 "205": "Reset Content",
53 "303": "See Other",
54 "503": "Service Unavailable",
55 "101": "Switching Protocols",
56 "307": "Temporary Redirect",
57 "429": "Too Many Requests",
58 "401": "Unauthorized",
59 "451": "Unavailable For Legal Reasons",
60 "422": "Unprocessable Entity",
61 "415": "Unsupported Media Type",
62 "305": "Use Proxy",
63 "421": "Misdirected Request"
64};
65exports.reasonPhraseToStatusCode = {
66 "Accepted": 202,
67 "Bad Gateway": 502,
68 "Bad Request": 400,
69 "Conflict": 409,
70 "Continue": 100,
71 "Created": 201,
72 "Expectation Failed": 417,
73 "Failed Dependency": 424,
74 "Forbidden": 403,
75 "Gateway Timeout": 504,
76 "Gone": 410,
77 "HTTP Version Not Supported": 505,
78 "I'm a teapot": 418,
79 "Insufficient Space on Resource": 419,
80 "Insufficient Storage": 507,
81 "Internal Server Error": 500,
82 "Length Required": 411,
83 "Locked": 423,
84 "Method Failure": 420,
85 "Method Not Allowed": 405,
86 "Moved Permanently": 301,
87 "Moved Temporarily": 302,
88 "Multi-Status": 207,
89 "Multiple Choices": 300,
90 "Network Authentication Required": 511,
91 "No Content": 204,
92 "Non Authoritative Information": 203,
93 "Not Acceptable": 406,
94 "Not Found": 404,
95 "Not Implemented": 501,
96 "Not Modified": 304,
97 "OK": 200,
98 "Partial Content": 206,
99 "Payment Required": 402,
100 "Permanent Redirect": 308,
101 "Precondition Failed": 412,
102 "Precondition Required": 428,
103 "Processing": 102,
104 "Early Hints": 103,
105 "Upgrade Required": 426,
106 "Proxy Authentication Required": 407,
107 "Request Header Fields Too Large": 431,
108 "Request Timeout": 408,
109 "Request Entity Too Large": 413,
110 "Request-URI Too Long": 414,
111 "Requested Range Not Satisfiable": 416,
112 "Reset Content": 205,
113 "See Other": 303,
114 "Service Unavailable": 503,
115 "Switching Protocols": 101,
116 "Temporary Redirect": 307,
117 "Too Many Requests": 429,
118 "Unauthorized": 401,
119 "Unavailable For Legal Reasons": 451,
120 "Unprocessable Entity": 422,
121 "Unsupported Media Type": 415,
122 "Use Proxy": 305,
123 "Misdirected Request": 421
124};