1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
/// The field name "status_code" for Response struct.
pub const STATUS_CODE: &str = "status_code";
/// The field name "reason_phrase" for Response struct.
pub const REASON_PHRASE: &str = "reason_phrase";
/// HTTP status code 100: Continue.
pub const CONTINUE: &str = "Continue";
/// HTTP status code 101: Switching Protocols.
pub const SWITCHING_PROTOCOLS: &str = "Switching Protocols";
/// HTTP status code 102: Processing.
pub const PROCESSING: &str = "Processing";
/// HTTP status code 103: Early Hints.
pub const EARLY_HINTS: &str = "Early Hints";
/// HTTP status code 200: OK.
pub const OK: &str = "OK";
/// HTTP status code 201: Created.
pub const CREATED: &str = "Created";
/// HTTP status code 202: Accepted.
pub const ACCEPTED: &str = "Accepted";
/// HTTP status code 203: Non-Authoritative Information.
pub const NON_AUTHORITATIVE_INFORMATION: &str = "Non-Authoritative Information";
/// HTTP status code 204: No Content.
pub const NO_CONTENT: &str = "No Content";
/// HTTP status code 205: Reset Content.
pub const RESET_CONTENT: &str = "Reset Content";
/// HTTP status code 206: Partial Content.
pub const PARTIAL_CONTENT: &str = "Partial Content";
/// HTTP status code 207: Multi-Status.
pub const MULTI_STATUS: &str = "Multi-Status";
/// HTTP status code 208: Already Reported.
pub const ALREADY_REPORTED: &str = "Already Reported";
/// HTTP status code 226: IM Used.
pub const IM_USED: &str = "IM Used";
/// HTTP status code 300: Multiple Choices.
pub const MULTIPLE_CHOICES: &str = "Multiple Choices";
/// HTTP status code 301: Moved Permanently.
pub const MOVED_PERMANENTLY: &str = "Moved Permanently";
/// HTTP status code 302: Found.
pub const FOUND: &str = "Found";
/// HTTP status code 303: See Other.
pub const SEE_OTHER: &str = "See Other";
/// HTTP status code 304: Not Modified.
pub const NOT_MODIFIED: &str = "Not Modified";
/// HTTP status code 305: Use Proxy.
pub const USE_PROXY: &str = "Use Proxy";
/// HTTP status code 307: Temporary Redirect.
pub const TEMPORARY_REDIRECT: &str = "Temporary Redirect";
/// HTTP status code 308: Permanent Redirect.
pub const PERMANENT_REDIRECT: &str = "Permanent Redirect";
/// HTTP status code 400: Bad Request.
pub const BAD_REQUEST: &str = "Bad Request";
/// HTTP status code 401: Unauthorized.
pub const UNAUTHORIZED: &str = "Unauthorized";
/// HTTP status code 402: Payment Required.
pub const PAYMENT_REQUIRED: &str = "Payment Required";
/// HTTP status code 403: Forbidden.
pub const FORBIDDEN: &str = "Forbidden";
/// HTTP status code 404: Not Found.
pub const NOT_FOUND: &str = "Not Found";
/// HTTP status code 405: Method Not Allowed.
pub const METHOD_NOT_ALLOWED: &str = "Method Not Allowed";
/// HTTP status code 406: Not Acceptable.
pub const NOT_ACCEPTABLE: &str = "Not Acceptable";
/// HTTP status code 407: Proxy Authentication Required.
pub const PROXY_AUTHENTICATION_REQUIRED: &str = "Proxy Authentication Required";
/// HTTP status code 408: Request Timeout.
pub const REQUEST_TIMEOUT: &str = "Request Timeout";
/// HTTP status code 409: Conflict.
pub const CONFLICT: &str = "Conflict";
/// HTTP status code 410: Gone.
pub const GONE: &str = "Gone";
/// HTTP status code 411: Length Required.
pub const LENGTH_REQUIRED: &str = "Length Required";
/// HTTP status code 412: Precondition Failed.
pub const PRECONDITION_FAILED: &str = "Precondition Failed";
/// HTTP status code 413: Payload Too Large.
pub const PAYLOAD_TOO_LARGE: &str = "Payload Too Large";
/// HTTP status code 414: URI Too Long.
pub const URI_TOO_LONG: &str = "URI Too Long";
/// HTTP status code 415: Unsupported Media Type.
pub const UNSUPPORTED_MEDIA_TYPE: &str = "Unsupported Media Type";
/// HTTP status code 416: Range Not Satisfiable.
pub const RANGE_NOT_SATISFIABLE: &str = "Range Not Satisfiable";
/// HTTP status code 417: Expectation Failed.
pub const EXPECTATION_FAILED: &str = "Expectation Failed";
/// HTTP status code 418: I'm a teapot.
pub const IM_A_TEAPOT: &str = "I'm a teapot";
/// HTTP status code 421: Misdirected Request.
pub const MISDIRECTED_REQUEST: &str = "Misdirected Request";
/// HTTP status code 422: Unprocessable Entity.
pub const UNPROCESSABLE_ENTITY: &str = "Unprocessable Entity";
/// HTTP status code 423: Locked.
pub const LOCKED: &str = "Locked";
/// HTTP status code 424: Failed Dependency.
pub const FAILED_DEPENDENCY: &str = "Failed Dependency";
/// HTTP status code 425: Too Early.
pub const TOO_EARLY: &str = "Too Early";
/// HTTP status code 426: Upgrade Required.
pub const UPGRADE_REQUIRED: &str = "Upgrade Required";
/// HTTP status code 428: Precondition Required.
pub const PRECONDITION_REQUIRED: &str = "Precondition Required";
/// HTTP status code 429: Too Many Requests.
pub const TOO_MANY_REQUESTS: &str = "Too Many Requests";
/// HTTP status code 431: Request Header Fields Too Large.
pub const REQUEST_HEADER_FIELDS_TOO_LARGE: &str = "Request Header Fields Too Large";
/// HTTP status code 451: Unavailable For Legal Reasons.
pub const UNAVAILABLE_FOR_LEGAL_REASONS: &str = "Unavailable For Legal Reasons";
/// HTTP status code 500: Internal Server Error.
pub const INTERNAL_SERVER_ERROR: &str = "Internal Server Error";
/// HTTP status code 501: Not Implemented.
pub const NOT_IMPLEMENTED: &str = "Not Implemented";
/// HTTP status code 502: Bad Gateway.
pub const BAD_GATEWAY: &str = "Bad Gateway";
/// HTTP status code 503: Service Unavailable.
pub const SERVICE_UNAVAILABLE: &str = "Service Unavailable";
/// HTTP status code 504: Gateway Timeout.
pub const GATEWAY_TIMEOUT: &str = "Gateway Timeout";
/// HTTP status code 505: HTTP Version Not Supported.
pub const HTTP_VERSION_NOT_SUPPORTED: &str = "HTTP Version Not Supported";
/// HTTP status code 506: Variant Also Negotiates.
pub const VARIANT_ALSO_NEGOTIATES: &str = "Variant Also Negotiates";
/// HTTP status code 507: Insufficient Storage.
pub const INSUFFICIENT_STORAGE: &str = "Insufficient Storage";
/// HTTP status code 508: Loop Detected.
pub const LOOP_DETECTED: &str = "Loop Detected";
/// HTTP status code 510: Not Extended.
pub const NOT_EXTENDED: &str = "Not Extended";
/// HTTP status code 511: Network Authentication Required.
pub const NETWORK_AUTHENTICATION_REQUIRED: &str = "Network Authentication Required";
/// HTTP status code for unknown status.
pub const UNKNOWN: &str = "Unknown";
/// HTTP status code 100 as string: Continue
pub const STATUS_CODE_100: &str = "100";
/// HTTP status code 101 as string: Switching Protocols
pub const STATUS_CODE_101: &str = "101";
/// HTTP status code 102 as string: Processing
pub const STATUS_CODE_102: &str = "102";
/// HTTP status code 103 as string: Early Hints
pub const STATUS_CODE_103: &str = "103";
/// HTTP status code 200 as string: OK
pub const STATUS_CODE_200: &str = "200";
/// HTTP status code 201 as string: Created
pub const STATUS_CODE_201: &str = "201";
/// HTTP status code 202 as string: Accepted
pub const STATUS_CODE_202: &str = "202";
/// HTTP status code 203 as string: Non-Authoritative Information
pub const STATUS_CODE_203: &str = "203";
/// HTTP status code 204 as string: No Content
pub const STATUS_CODE_204: &str = "204";
/// HTTP status code 205 as string: Reset Content
pub const STATUS_CODE_205: &str = "205";
/// HTTP status code 206 as string: Partial Content
pub const STATUS_CODE_206: &str = "206";
/// HTTP status code 207 as string: Multi-Status
pub const STATUS_CODE_207: &str = "207";
/// HTTP status code 208 as string: Already Reported
pub const STATUS_CODE_208: &str = "208";
/// HTTP status code 226 as string: IM Used
pub const STATUS_CODE_226: &str = "226";
/// HTTP status code 300 as string: Multiple Choices
pub const STATUS_CODE_300: &str = "300";
/// HTTP status code 301 as string: Moved Permanently
pub const STATUS_CODE_301: &str = "301";
/// HTTP status code 302 as string: Found
pub const STATUS_CODE_302: &str = "302";
/// HTTP status code 303 as string: See Other
pub const STATUS_CODE_303: &str = "303";
/// HTTP status code 304 as string: Not Modified
pub const STATUS_CODE_304: &str = "304";
/// HTTP status code 305 as string: Use Proxy
pub const STATUS_CODE_305: &str = "305";
/// HTTP status code 307 as string: Temporary Redirect
pub const STATUS_CODE_307: &str = "307";
/// HTTP status code 308 as string: Permanent Redirect
pub const STATUS_CODE_308: &str = "308";
/// HTTP status code 400 as string: Bad Request
pub const STATUS_CODE_400: &str = "400";
/// HTTP status code 401 as string: Unauthorized
pub const STATUS_CODE_401: &str = "401";
/// HTTP status code 402 as string: Payment Required
pub const STATUS_CODE_402: &str = "402";
/// HTTP status code 403 as string: Forbidden
pub const STATUS_CODE_403: &str = "403";
/// HTTP status code 404 as string: Not Found
pub const STATUS_CODE_404: &str = "404";
/// HTTP status code 405 as string: Method Not Allowed
pub const STATUS_CODE_405: &str = "405";
/// HTTP status code 406 as string: Not Acceptable
pub const STATUS_CODE_406: &str = "406";
/// HTTP status code 407 as string: Proxy Authentication Required
pub const STATUS_CODE_407: &str = "407";
/// HTTP status code 408 as string: Request Timeout
pub const STATUS_CODE_408: &str = "408";
/// HTTP status code 409 as string: Conflict
pub const STATUS_CODE_409: &str = "409";
/// HTTP status code 410 as string: Gone
pub const STATUS_CODE_410: &str = "410";
/// HTTP status code 411 as string: Length Required
pub const STATUS_CODE_411: &str = "411";
/// HTTP status code 412 as string: Precondition Failed
pub const STATUS_CODE_412: &str = "412";
/// HTTP status code 413 as string: Payload Too Large
pub const STATUS_CODE_413: &str = "413";
/// HTTP status code 414 as string: URI Too Long
pub const STATUS_CODE_414: &str = "414";
/// HTTP status code 415 as string: Unsupported Media Type
pub const STATUS_CODE_415: &str = "415";
/// HTTP status code 416 as string: Range Not Satisfiable
pub const STATUS_CODE_416: &str = "416";
/// HTTP status code 417 as string: Expectation Failed
pub const STATUS_CODE_417: &str = "417";
/// HTTP status code 418 as string: I'm a teapot
pub const STATUS_CODE_418: &str = "418";
/// HTTP status code 421 as string: Misdirected Request
pub const STATUS_CODE_421: &str = "421";
/// HTTP status code 422 as string: Unprocessable Entity
pub const STATUS_CODE_422: &str = "422";
/// HTTP status code 423 as string: Locked
pub const STATUS_CODE_423: &str = "423";
/// HTTP status code 424 as string: Failed Dependency
pub const STATUS_CODE_424: &str = "424";
/// HTTP status code 425 as string: Too Early
pub const STATUS_CODE_425: &str = "425";
/// HTTP status code 426 as string: Upgrade Required
pub const STATUS_CODE_426: &str = "426";
/// HTTP status code 428 as string: Precondition Required
pub const STATUS_CODE_428: &str = "428";
/// HTTP status code 429 as string: Too Many Requests
pub const STATUS_CODE_429: &str = "429";
/// HTTP status code 431 as string: Request Header Fields Too Large
pub const STATUS_CODE_431: &str = "431";
/// HTTP status code 451 as string: Unavailable For Legal Reasons
pub const STATUS_CODE_451: &str = "451";
/// HTTP status code 500 as string: Internal Server Error
pub const STATUS_CODE_500: &str = "500";
/// HTTP status code 501 as string: Not Implemented
pub const STATUS_CODE_501: &str = "501";
/// HTTP status code 502 as string: Bad Gateway
pub const STATUS_CODE_502: &str = "502";
/// HTTP status code 503 as string: Service Unavailable
pub const STATUS_CODE_503: &str = "503";
/// HTTP status code 504 as string: Gateway Timeout
pub const STATUS_CODE_504: &str = "504";
/// HTTP status code 505 as string: HTTP Version Not Supported
pub const STATUS_CODE_505: &str = "505";
/// HTTP status code 506 as string: Variant Also Negotiates
pub const STATUS_CODE_506: &str = "506";
/// HTTP status code 507 as string: Insufficient Storage
pub const STATUS_CODE_507: &str = "507";
/// HTTP status code 508 as string: Loop Detected
pub const STATUS_CODE_508: &str = "508";
/// HTTP status code 510 as string: Not Extended
pub const STATUS_CODE_510: &str = "510";
/// HTTP status code 511 as string: Network Authentication Required
pub const STATUS_CODE_511: &str = "511";