UNPKG

11 kBTypeScriptView Raw
1export declare let STATUS: {
2 CONTINUE: number;
3 SWITCHING_PROTOCOLS: number;
4 OK: number;
5 CREATED: number;
6 ACCEPTED: number;
7 NON_AUTHORITATIVE_INFORMATION: number;
8 NO_CONTENT: number;
9 RESET_CONTENT: number;
10 PARTIAL_CONTENT: number;
11 MULTIPLE_CHOICES: number;
12 MOVED_PERMANTENTLY: number;
13 FOUND: number;
14 SEE_OTHER: number;
15 NOT_MODIFIED: number;
16 USE_PROXY: number;
17 TEMPORARY_REDIRECT: number;
18 BAD_REQUEST: number;
19 UNAUTHORIZED: number;
20 PAYMENT_REQUIRED: number;
21 FORBIDDEN: number;
22 NOT_FOUND: number;
23 METHOD_NOT_ALLOWED: number;
24 NOT_ACCEPTABLE: number;
25 PROXY_AUTHENTICATION_REQUIRED: number;
26 REQUEST_TIMEOUT: number;
27 CONFLICT: number;
28 GONE: number;
29 LENGTH_REQUIRED: number;
30 PRECONDITION_FAILED: number;
31 PAYLOAD_TO_LARGE: number;
32 URI_TOO_LONG: number;
33 UNSUPPORTED_MEDIA_TYPE: number;
34 RANGE_NOT_SATISFIABLE: number;
35 EXPECTATION_FAILED: number;
36 IM_A_TEAPOT: number;
37 UPGRADE_REQUIRED: number;
38 INTERNAL_SERVER_ERROR: number;
39 NOT_IMPLEMENTED: number;
40 BAD_GATEWAY: number;
41 SERVICE_UNAVAILABLE: number;
42 GATEWAY_TIMEOUT: number;
43 HTTP_VERSION_NOT_SUPPORTED: number;
44 PROCESSING: number;
45 MULTI_STATUS: number;
46 IM_USED: number;
47 PERMANENT_REDIRECT: number;
48 UNPROCESSABLE_ENTRY: number;
49 LOCKED: number;
50 FAILED_DEPENDENCY: number;
51 PRECONDITION_REQUIRED: number;
52 TOO_MANY_REQUESTS: number;
53 REQUEST_HEADER_FIELDS_TOO_LARGE: number;
54 UNAVAILABLE_FOR_LEGAL_REASONS: number;
55 VARIANT_ALSO_NEGOTIATES: number;
56 INSUFFICIENT_STORAGE: number;
57 NETWORK_AUTHENTICATION_REQUIRED: number;
58};
59export declare let STATUS_CODE_INFO: {
60 "100": {
61 "code": number;
62 "text": string;
63 "description": string;
64 "spec_title": string;
65 "spec_href": string;
66 };
67 "101": {
68 "code": number;
69 "text": string;
70 "description": string;
71 "spec_title": string;
72 "spec_href": string;
73 };
74 "102": {
75 "code": number;
76 "text": string;
77 "description": string;
78 "spec_title": string;
79 "spec_href": string;
80 };
81 "200": {
82 "code": number;
83 "text": string;
84 "description": string;
85 "spec_title": string;
86 "spec_href": string;
87 };
88 "201": {
89 "code": number;
90 "text": string;
91 "description": string;
92 "spec_title": string;
93 "spec_href": string;
94 };
95 "202": {
96 "code": number;
97 "text": string;
98 "description": string;
99 "spec_title": string;
100 "spec_href": string;
101 };
102 "203": {
103 "code": number;
104 "text": string;
105 "description": string;
106 "spec_title": string;
107 "spec_href": string;
108 };
109 "204": {
110 "code": number;
111 "text": string;
112 "description": string;
113 "spec_title": string;
114 "spec_href": string;
115 };
116 "205": {
117 "code": number;
118 "text": string;
119 "description": string;
120 "spec_title": string;
121 "spec_href": string;
122 };
123 "206": {
124 "code": number;
125 "text": string;
126 "description": string;
127 "spec_title": string;
128 "spec_href": string;
129 };
130 "207": {
131 "code": number;
132 "text": string;
133 "description": string;
134 "spec_title": string;
135 "spec_href": string;
136 };
137 "226": {
138 "code": number;
139 "text": string;
140 "description": string;
141 "spec_title": string;
142 "spec_href": string;
143 };
144 "300": {
145 "code": number;
146 "text": string;
147 "description": string;
148 "spec_title": string;
149 "spec_href": string;
150 };
151 "301": {
152 "code": number;
153 "text": string;
154 "description": string;
155 "spec_title": string;
156 "spec_href": string;
157 };
158 "302": {
159 "code": number;
160 "text": string;
161 "description": string;
162 "spec_title": string;
163 "spec_href": string;
164 };
165 "303": {
166 "code": number;
167 "text": string;
168 "description": string;
169 "spec_title": string;
170 "spec_href": string;
171 };
172 "304": {
173 "code": number;
174 "text": string;
175 "description": string;
176 "spec_title": string;
177 "spec_href": string;
178 };
179 "305": {
180 "code": number;
181 "text": string;
182 "description": string;
183 "spec_title": string;
184 "spec_href": string;
185 };
186 "307": {
187 "code": number;
188 "text": string;
189 "description": string;
190 "spec_title": string;
191 "spec_href": string;
192 };
193 "308": {
194 "code": number;
195 "text": string;
196 "description": string;
197 "spec_title": string;
198 "spec_href": string;
199 };
200 "400": {
201 "code": number;
202 "text": string;
203 "description": string;
204 "spec_title": string;
205 "spec_href": string;
206 };
207 "401": {
208 "code": number;
209 "text": string;
210 "description": string;
211 "spec_title": string;
212 "spec_href": string;
213 };
214 "402": {
215 "code": number;
216 "text": string;
217 "description": string;
218 "spec_title": string;
219 "spec_href": string;
220 };
221 "403": {
222 "code": number;
223 "text": string;
224 "description": string;
225 "spec_title": string;
226 "spec_href": string;
227 };
228 "404": {
229 "code": number;
230 "text": string;
231 "description": string;
232 "spec_title": string;
233 "spec_href": string;
234 };
235 "405": {
236 "code": number;
237 "text": string;
238 "description": string;
239 "spec_title": string;
240 "spec_href": string;
241 };
242 "406": {
243 "code": number;
244 "text": string;
245 "description": string;
246 "spec_title": string;
247 "spec_href": string;
248 };
249 "407": {
250 "code": number;
251 "text": string;
252 "description": string;
253 "spec_title": string;
254 "spec_href": string;
255 };
256 "408": {
257 "code": number;
258 "text": string;
259 "description": string;
260 "spec_title": string;
261 "spec_href": string;
262 };
263 "409": {
264 "code": number;
265 "text": string;
266 "description": string;
267 "spec_title": string;
268 "spec_href": string;
269 };
270 "410": {
271 "code": number;
272 "text": string;
273 "description": string;
274 "spec_title": string;
275 "spec_href": string;
276 };
277 "411": {
278 "code": number;
279 "text": string;
280 "description": string;
281 "spec_title": string;
282 "spec_href": string;
283 };
284 "412": {
285 "code": number;
286 "text": string;
287 "description": string;
288 "spec_title": string;
289 "spec_href": string;
290 };
291 "413": {
292 "code": number;
293 "text": string;
294 "description": string;
295 "spec_title": string;
296 "spec_href": string;
297 };
298 "414": {
299 "code": number;
300 "text": string;
301 "description": string;
302 "spec_title": string;
303 "spec_href": string;
304 };
305 "415": {
306 "code": number;
307 "text": string;
308 "description": string;
309 "spec_title": string;
310 "spec_href": string;
311 };
312 "416": {
313 "code": number;
314 "text": string;
315 "description": string;
316 "spec_title": string;
317 "spec_href": string;
318 };
319 "417": {
320 "code": number;
321 "text": string;
322 "description": string;
323 "spec_title": string;
324 "spec_href": string;
325 };
326 "418": {
327 "code": number;
328 "text": string;
329 "description": string;
330 "spec_title": string;
331 "spec_href": string;
332 };
333 "422": {
334 "code": number;
335 "text": string;
336 "description": string;
337 "spec_title": string;
338 "spec_href": string;
339 };
340 "423": {
341 "code": number;
342 "text": string;
343 "description": string;
344 "spec_title": string;
345 "spec_href": string;
346 };
347 "424": {
348 "code": number;
349 "text": string;
350 "description": string;
351 "spec_title": string;
352 "spec_href": string;
353 };
354 "426": {
355 "code": number;
356 "text": string;
357 "description": string;
358 "spec_title": string;
359 "spec_href": string;
360 };
361 "428": {
362 "code": number;
363 "text": string;
364 "description": string;
365 "spec_title": string;
366 "spec_href": string;
367 };
368 "429": {
369 "code": number;
370 "text": string;
371 "description": string;
372 "spec_title": string;
373 "spec_href": string;
374 };
375 "431": {
376 "code": number;
377 "text": string;
378 "description": string;
379 "spec_title": string;
380 "spec_href": string;
381 };
382 "451": {
383 "code": number;
384 "text": string;
385 "description": string;
386 "spec_title": string;
387 "spec_href": string;
388 };
389 "500": {
390 "code": number;
391 "text": string;
392 "description": string;
393 "spec_title": string;
394 "spec_href": string;
395 };
396 "501": {
397 "code": number;
398 "text": string;
399 "description": string;
400 "spec_title": string;
401 "spec_href": string;
402 };
403 "502": {
404 "code": number;
405 "text": string;
406 "description": string;
407 "spec_title": string;
408 "spec_href": string;
409 };
410 "503": {
411 "code": number;
412 "text": string;
413 "description": string;
414 "spec_title": string;
415 "spec_href": string;
416 };
417 "504": {
418 "code": number;
419 "text": string;
420 "description": string;
421 "spec_title": string;
422 "spec_href": string;
423 };
424 "505": {
425 "code": number;
426 "text": string;
427 "description": string;
428 "spec_title": string;
429 "spec_href": string;
430 };
431 "506": {
432 "code": number;
433 "text": string;
434 "description": string;
435 "spec_title": string;
436 "spec_href": string;
437 };
438 "507": {
439 "code": number;
440 "text": string;
441 "description": string;
442 "spec_title": string;
443 "spec_href": string;
444 };
445 "511": {
446 "code": number;
447 "text": string;
448 "description": string;
449 "spec_title": string;
450 "spec_href": string;
451 };
452};