-
-
Notifications
You must be signed in to change notification settings - Fork 322
/
statusCodes.json
450 lines (450 loc) · 22.4 KB
/
statusCodes.json
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
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
[
{
"code": "1xx",
"phrase": "**Informational**",
"description": "\"indicates an interim response for communicating connection status or request progress prior to completing the requested action and sending a final response.\" ~ [sure](http://www.urbandictionary.com/define.php?term=sure)",
"spec_title": "RFC7231#6.2",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.2"
},
{
"code": "100",
"phrase": "Continue",
"description": "\"indicates that the initial part of a request has been received and has not yet been rejected by the server.\"",
"spec_title": "RFC7231#6.2.1",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.2.1"
},
{
"code": "101",
"phrase": "Switching Protocols",
"description": "\"indicates that the server understands and is willing to comply with the client's request, via the Upgrade header field, for a change in the application protocol being used on this connection.\"",
"spec_title": "RFC7231#6.2.2",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.2.2"
},
{
"code": "2xx",
"phrase": "**Successful**",
"description": "\"indicates that the client's request was successfully received, understood, and accepted.\" ~ [cool](https://twitter.com/DanaDanger/status/183316183494311936)",
"spec_title": "RFC7231#6.3",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.3"
},
{
"code": "200",
"phrase": "OK",
"description": "\"indicates that the request has succeeded.\"",
"spec_title": "RFC7231#6.3.1",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.3.1"
},
{
"code": "201",
"phrase": "Created",
"description": "\"indicates that the request has been fulfilled and has resulted in one or more new resources being created.\"",
"spec_title": "RFC7231#6.3.2",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.3.2"
},
{
"code": "202",
"phrase": "Accepted",
"description": "\"indicates that the request has been accepted for processing, but the processing has not been completed.\"",
"spec_title": "RFC7231#6.3.3",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.3.3"
},
{
"code": "203",
"phrase": "Non-Authoritative Information",
"description": "\"indicates that the request was successful but the enclosed payload has been modified from that of the origin server's 200 (OK) response by a transforming proxy.\"",
"spec_title": "RFC7231#6.3.4",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.3.4"
},
{
"code": "204",
"phrase": "No Content",
"description": "\"indicates that the server has successfully fulfilled the request and that there is no additional content to send in the response payload body.\"",
"spec_title": "RFC7231#6.3.5",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.3.5"
},
{
"code": "205",
"phrase": "Reset Content",
"description": "\"indicates that the server has fulfilled the request and desires that the user agent reset the \"document view\", which caused the request to be sent, to its original state as received from the origin server.\"",
"spec_title": "RFC7231#6.3.6",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.3.6"
},
{
"code": "206",
"phrase": "Partial Content",
"description": "\"indicates that the server is successfully fulfilling a range request for the target resource by transferring one or more parts of the selected representation that correspond to the satisfiable ranges found in the requests's Range header field.\"",
"spec_title": "RFC7233#4.1",
"spec_href": "https://tools.ietf.org/html/rfc7233#section-4.1"
},
{
"code": "3xx",
"phrase": "**Redirection**",
"description": "\"indicates that further action needs to be taken by the user agent in order to fulfill the request.\" ~ [ask that dude over there](https://twitter.com/DanaDanger/status/183316183494311936)",
"spec_title": "RFC7231#6.4",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.4"
},
{
"code": "300",
"phrase": "Multiple Choices",
"description": "\"indicates that the target resource has more than one representation, each with its own more specific identifier, and information about the alternatives is being provided so that the user (or user agent) can select a preferred representation by redirecting its request to one or more of those identifiers.\"",
"spec_title": "RFC7231#6.4.1",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.4.1"
},
{
"code": "301",
"phrase": "Moved Permanently",
"description": "\"indicates that the target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs.\"",
"spec_title": "RFC7231#6.4.2",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.4.2"
},
{
"code": "302",
"phrase": "Found",
"description": "\"indicates that the target resource resides temporarily under a different URI.\"",
"spec_title": "RFC7231#6.4.3",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.4.3"
},
{
"code": "303",
"phrase": "See Other",
"description": "\"indicates that the server is redirecting the user agent to a different resource, as indicated by a URI in the Location header field, that is intended to provide an indirect response to the original request.\"",
"spec_title": "RFC7231#6.4.4",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.4.4"
},
{
"code": "304",
"phrase": "Not Modified",
"description": "\"indicates that a conditional GET request has been received and would have resulted in a 200 (OK) response if it were not for the fact that the condition has evaluated to false.\"",
"spec_title": "RFC7232#4.1",
"spec_href": "https://tools.ietf.org/html/rfc7232#section-4.1"
},
{
"code": "305",
"phrase": "Use Proxy",
"description": "*deprecated*",
"spec_title": "RFC7231#6.4.5",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.4.5"
},
{
"code": "307",
"phrase": "Temporary Redirect",
"description": "\"indicates that the target resource resides temporarily under a different URI and the user agent MUST NOT change the request method if it performs an automatic redirection to that URI.\"",
"spec_title": "RFC7231#6.4.7",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.4.7"
},
{
"code": "4xx",
"phrase": "**Client Error**",
"description": "\"indicates that the client seems to have erred.\" ~ [*you* fucked up](https://twitter.com/DanaDanger/status/183316183494311936)",
"spec_title": "RFC7231#6.5",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5"
},
{
"code": "400",
"phrase": "Bad Request",
"description": "\"indicates that the server cannot or will not process the request because the received syntax is invalid, nonsensical, or exceeds some limitation on what the server is willing to process.\"",
"spec_title": "RFC7231#6.5.1",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.1"
},
{
"code": "401",
"phrase": "Unauthorized",
"description": "\"indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.\"",
"spec_title": "RFC7235#6.3.1",
"spec_href": "https://tools.ietf.org/html/rfc7235#section-3.1"
},
{
"code": "402",
"phrase": "Payment Required",
"description": "*reserved*",
"spec_title": "RFC7231#6.5.2",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.2"
},
{
"code": "403",
"phrase": "Forbidden",
"description": "\"indicates that the server understood the request but refuses to authorize it.\"",
"spec_title": "RFC7231#6.5.3",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.3"
},
{
"code": "404",
"phrase": "Not Found",
"description": "\"indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.\"",
"spec_title": "RFC7231#6.5.4",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.4"
},
{
"code": "405",
"phrase": "Method Not Allowed",
"description": "\"indicates that the method specified in the request-line is known by the origin server but not supported by the target resource.\"",
"spec_title": "RFC7231#6.5.5",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.5"
},
{
"code": "406",
"phrase": "Not Acceptable",
"description": "\"indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request, and the server is unwilling to supply a default representation.\"",
"spec_title": "RFC7231#6.5.6",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.6"
},
{
"code": "407",
"phrase": "Proxy Authentication Required",
"description": "\"is similar to 401 (Unauthorized), but indicates that the client needs to authenticate itself in order to use a proxy.\"",
"spec_title": "RFC7235#3.2",
"spec_href": "https://tools.ietf.org/html/rfc7235#section-3.2"
},
{
"code": "408",
"phrase": "Request Timeout",
"description": "\"indicates that the server did not receive a complete request message within the time that it was prepared to wait.\"",
"spec_title": "RFC7231#6.5.7",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.7"
},
{
"code": "409",
"phrase": "Conflict",
"description": "\"indicates that the request could not be completed due to a conflict with the current state of the resource.\"",
"spec_title": "RFC7231#6.5.8",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.8"
},
{
"code": "410",
"phrase": "Gone",
"description": "\"indicates that access to the target resource is no longer available at the origin server and that this condition is likely to be permanent.\"",
"spec_title": "RFC7231#6.5.9",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.9"
},
{
"code": "411",
"phrase": "Length Required",
"description": "\"indicates that the server refuses to accept the request without a defined Content-Length.\"",
"spec_title": "RFC7231#6.5.10",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.10"
},
{
"code": "412",
"phrase": "Precondition Failed",
"description": "\"indicates that one or more preconditions given in the request header fields evaluated to false when tested on the server.\"",
"spec_title": "RFC7232#4.2",
"spec_href": "https://tools.ietf.org/html/rfc7232#section-4.2"
},
{
"code": "413",
"phrase": "Payload Too Large",
"description": "\"indicates that the server is refusing to process a request because the request payload is larger than the server is willing or able to process.\"",
"spec_title": "RFC7231#6.5.11",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.11"
},
{
"code": "414",
"phrase": "URI Too Long",
"description": "\"indicates that the server is refusing to service the request because the request-target is longer than the server is willing to interpret.\"",
"spec_title": "RFC7231#6.5.12",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.12"
},
{
"code": "415",
"phrase": "Unsupported Media Type",
"description": "\"indicates that the origin server is refusing to service the request because the payload is in a format not supported by the target resource for this method.\"",
"spec_title": "RFC7231#6.5.13",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.13"
},
{
"code": "416",
"phrase": "Range Not Satisfiable",
"description": "\"indicates that none of the ranges in the request's Range header field overlap the current extent of the selected resource or that the set of ranges requested has been rejected due to invalid ranges or an excessive request of small or overlapping ranges.\"",
"spec_title": "RFC7233#4.4",
"spec_href": "https://tools.ietf.org/html/rfc7233#section-4.4"
},
{
"code": "417",
"phrase": "Expectation Failed",
"description": "\"indicates that the expectation given in the request's Expect header field could not be met by at least one of the inbound servers.\"",
"spec_title": "RFC7231#6.5.14",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.14"
},
{
"code": "418",
"phrase": "I'm a teapot",
"description": "\"Any attempt to brew coffee with a teapot should result in the error code 418 I'm a teapot.\"",
"spec_title": "RFC2324#2.3.1",
"spec_href": "https://tools.ietf.org/html/rfc2324#section-2.3.1"
},
{
"code": "426",
"phrase": "Upgrade Required",
"description": "\"indicates that the server refuses to perform the request using the current protocol but might be willing to do so after the client upgrades to a different protocol.\"",
"spec_title": "RFC7231#6.5.15",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.5.15"
},
{
"code": "5xx",
"phrase": "**Server Error**",
"description": "\"indicates that the server is aware that it has erred or is incapable of performing the requested method.\" ~ [*we* fucked up](https://twitter.com/DanaDanger/status/183316183494311936)",
"spec_title": "RFC7231#6.6",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.6"
},
{
"code": "500",
"phrase": "Internal Server Error",
"description": "\"indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\"",
"spec_title": "RFC7231#6.6.1",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.6.1"
},
{
"code": "501",
"phrase": "Not Implemented",
"description": "\"indicates that the server does not support the functionality required to fulfill the request.\"",
"spec_title": "RFC7231#6.6.2",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.6.2"
},
{
"code": "502",
"phrase": "Bad Gateway",
"description": "\"indicates that the server, while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request.\"",
"spec_title": "RFC7231#6.6.3",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.6.3"
},
{
"code": "503",
"phrase": "Service Unavailable",
"description": "\"indicates that the server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.\"",
"spec_title": "RFC7231#6.6.4",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.6.4"
},
{
"code": "504",
"phrase": "Gateway Time-out",
"description": "\"indicates that the server, while acting as a gateway or proxy, did not receive a timely response from an upstream server it needed to access in order to complete the request.\"",
"spec_title": "RFC7231#6.6.5",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.6.5"
},
{
"code": "505",
"phrase": "HTTP Version Not Supported",
"description": "\"indicates that the server does not support, or refuses to support, the protocol version that was used in the request message.\"",
"spec_title": "RFC7231#6.6.6",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.6.6"
},
{
"code": "102",
"phrase": "Processing",
"description": "\"is an interim response used to inform the client that the server has accepted the complete request, but has not yet completed it.\"",
"spec_title": "RFC5218#10.1",
"spec_href": "https://tools.ietf.org/html/rfc2518#section-10.1"
},
{
"code": "103",
"phrase": "Early Hints",
"description": "\"the server is likely to send a final response with the header fields included in the informational response\"",
"spec_title": "RFC8297#2",
"spec_href": "https://tools.ietf.org/html/rfc8297#section-2"
},
{
"code": "207",
"phrase": "Multi-Status",
"description": "\"provides status for multiple independent operations.\"",
"spec_title": "RFC5218#10.2",
"spec_href": "https://tools.ietf.org/html/rfc2518#section-10.2"
},
{
"code": "226",
"phrase": "IM Used",
"description": "\"The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance.\"",
"spec_title": "RFC3229#10.4.1",
"spec_href": "https://tools.ietf.org/html/rfc3229#section-10.4.1"
},
{
"code": "308",
"phrase": "Permanent Redirect",
"description": "\"The target resource has been assigned a new permanent URI and any future references to this resource outght to use one of the enclosed URIs. [...] This status code is similar to 301 Moved Permanently (Section 7.3.2 of rfc7231), except that it does not allow rewriting the request method from POST to GET.\"",
"spec_title": "RFC7538",
"spec_href": "https://tools.ietf.org/html/rfc7538"
},
{
"code": "421",
"phrase": "Misdirected request",
"description": "\"indicates that the request was directed at a server that is not able to produce a response. This can be sent by a server that is not configured to produce responses for the combination of scheme and authority that are included in the request URI.\"",
"spec_title": "RFC7540#9.1.2",
"spec_href": "https://tools.ietf.org/html/rfc7540#section-9.1.2"
},
{
"code": "422",
"phrase": "Unprocessable Entity",
"description": "\"means the server understands the content type of the request entity (hence a 415(Unsupported Media Type) status code is inappropriate), and the syntax of the request entity is correct (thus a 400 (Bad Request) status code is inappropriate) but was unable to process the contained instructions.\"",
"spec_title": "RFC5218#10.3",
"spec_href": "https://tools.ietf.org/html/rfc2518#section-10.3"
},
{
"code": "423",
"phrase": "Locked",
"description": "\"means the source or destination resource of a method is locked.\"",
"spec_title": "RFC5218#10.4",
"spec_href": "https://tools.ietf.org/html/rfc2518#section-10.4"
},
{
"code": "424",
"phrase": "Failed Dependency",
"description": "\"means that the method could not be performed on the resource because the requested action depended on another action and that action failed.\"",
"spec_title": "RFC5218#10.5",
"spec_href": "https://tools.ietf.org/html/rfc2518#section-10.5"
},
{
"code": "428",
"phrase": "Precondition Required",
"description": "\"indicates that the origin server requires the request to be conditional.\"",
"spec_title": "RFC6585#3",
"spec_href": "https://tools.ietf.org/html/rfc6585#section-3"
},
{
"code": "429",
"phrase": "Too Many Requests",
"description": "\"indicates that the user has sent too many requests in a given amount of time (\"rate limiting\").\"",
"spec_title": "RFC6585#4",
"spec_href": "https://tools.ietf.org/html/rfc6585#section-4"
},
{
"code": "431",
"phrase": "Request Header Fields Too Large",
"description": "\"indicates that the server is unwilling to process the request because its header fields are too large.\"",
"spec_title": "RFC6585#5",
"spec_href": "https://tools.ietf.org/html/rfc6585#section-5"
},
{
"code": "451",
"phrase": "Unavailable For Legal Reasons",
"description": "\"This status code indicates that the server is denying access to the resource in response to a legal demand.\"",
"spec_title": "draft-ietf-httpbis-legally-restricted-status",
"spec_href": "https://tools.ietf.org/html/draft-ietf-httpbis-legally-restricted-status"
},
{
"code": "506",
"phrase": "Variant Also Negotiates",
"description": "\"indicates that the server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.\"",
"spec_title": "RFC2295#8.1",
"spec_href": "https://tools.ietf.org/html/rfc2295#section-8.1"
},
{
"code": "507",
"phrase": "Insufficient Storage",
"description": "\"means the method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request.\"",
"spec_title": "RFC5218#10.6",
"spec_href": "https://tools.ietf.org/html/rfc2518#section-10.6"
},
{
"code": "511",
"phrase": "Network Authentication Required",
"description": "\"indicates that the client needs to authenticate to gain network access.\"",
"spec_title": "RFC6585#6",
"spec_href": "https://tools.ietf.org/html/rfc6585#section-6"
},
{
"code": "7xx",
"phrase": "**Developer Error**",
"description": "[err](http://www.urbandictionary.com/define.php?term=err)",
"spec_title": "7xx-rfc",
"spec_href": "http://documentup.com/joho/7XX-rfc"
}
]