toolbox-x 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/dist/Color-B3mgF9Dh.d.cts +486 -0
- package/dist/Color-D38Xrw65.d.mts +486 -0
- package/dist/Stylog-Df7eq3-j.d.cts +519 -0
- package/dist/Stylog-jvlLcMQq.d.mts +519 -0
- package/dist/array-DvW0zIu6.d.mts +130 -0
- package/dist/array-rUnEVisO.d.cts +130 -0
- package/dist/basics-D_eSv0cu.cjs +132 -0
- package/dist/basics-Dp_aEK81.mjs +115 -0
- package/dist/basics-WEYWlnRO.d.cts +95 -0
- package/dist/basics-uBSfkBEI.d.mts +95 -0
- package/dist/case-BWIt8Ash.mjs +449 -0
- package/dist/case-C-S-b5YP.d.cts +327 -0
- package/dist/case-CS8Ii3A7.cjs +526 -0
- package/dist/case-CybASFPD.d.mts +327 -0
- package/dist/change-case.cjs +32 -0
- package/dist/change-case.d.cts +18 -0
- package/dist/change-case.d.mts +18 -0
- package/dist/change-case.mjs +19 -0
- package/dist/colors.cjs +574 -0
- package/dist/colors.d.cts +355 -0
- package/dist/colors.d.mts +355 -0
- package/dist/colors.mjs +547 -0
- package/dist/constants-2gAw23_7.mjs +144 -0
- package/dist/constants-B34K0QPi.d.cts +21 -0
- package/dist/constants-BIBDKY1u.cjs +924 -0
- package/dist/constants-BWT-810U.cjs +158 -0
- package/dist/constants-BwbHnXlM.mjs +662 -0
- package/dist/constants-BxN9l5el.cjs +74 -0
- package/dist/constants-CLS_bgKD.d.mts +847 -0
- package/dist/constants-D73iFu8g.mjs +171 -0
- package/dist/constants-DAfRxaa8.mjs +62 -0
- package/dist/constants-DQYeCjlx.cjs +207 -0
- package/dist/constants-Deeie-iH.d.mts +21 -0
- package/dist/constants-DpTG9RP6.d.mts +29 -0
- package/dist/constants-DqwnkJ_d.cjs +740 -0
- package/dist/constants-DvRUY_FY.cjs +150 -0
- package/dist/constants-VcRtQu0K.d.cts +29 -0
- package/dist/constants-X5hm1UtB.mjs +912 -0
- package/dist/constants-eNd-iYsV.mjs +134 -0
- package/dist/constants-qm8FafmD.d.cts +847 -0
- package/dist/constants.cjs +415 -0
- package/dist/constants.d.cts +184 -0
- package/dist/constants.d.mts +184 -0
- package/dist/constants.mjs +378 -0
- package/dist/convert-BOCgUv2D.cjs +252 -0
- package/dist/convert-Bn4jFomQ.mjs +169 -0
- package/dist/convert-BrzlG-m_.cjs +475 -0
- package/dist/convert-DhaUoPVU.mjs +368 -0
- package/dist/converter-1P90_RcP.d.mts +402 -0
- package/dist/converter-CmkcAppi.d.cts +402 -0
- package/dist/converter.cjs +780 -0
- package/dist/converter.d.cts +29 -0
- package/dist/converter.d.mts +29 -0
- package/dist/converter.mjs +771 -0
- package/dist/countries-CIpmtEzV.cjs +1469 -0
- package/dist/countries-Cy0xiqS3.mjs +1463 -0
- package/dist/css-colors-Bx947Ng3.d.cts +179 -0
- package/dist/css-colors-CXCDqQbG.cjs +186 -0
- package/dist/css-colors-CXTp1vvy.d.mts +179 -0
- package/dist/css-colors-DfUW3nTR.mjs +180 -0
- package/dist/date.cjs +332 -0
- package/dist/date.d.cts +213 -0
- package/dist/date.d.mts +213 -0
- package/dist/date.mjs +298 -0
- package/dist/dom.cjs +461 -0
- package/dist/dom.d.cts +228 -0
- package/dist/dom.d.mts +228 -0
- package/dist/dom.mjs +429 -0
- package/dist/form-BMFVGUrN.d.mts +118 -0
- package/dist/form-DRFbryvK.d.cts +118 -0
- package/dist/guards-3kaUX66g.mjs +157 -0
- package/dist/guards-C8gkvIHb.cjs +240 -0
- package/dist/guards-DdyU4h4o.mjs +110 -0
- package/dist/guards-Efhp1mNy.cjs +151 -0
- package/dist/guards.cjs +172 -0
- package/dist/guards.d.cts +399 -0
- package/dist/guards.d.mts +399 -0
- package/dist/guards.mjs +75 -0
- package/dist/hash-B6JPEyAz.d.mts +131 -0
- package/dist/hash-NTpeKYB_.d.cts +131 -0
- package/dist/hash.cjs +2126 -0
- package/dist/hash.d.cts +1239 -0
- package/dist/hash.d.mts +1239 -0
- package/dist/hash.mjs +2095 -0
- package/dist/http-status-BAZdtr7-.d.mts +65 -0
- package/dist/http-status-U_3MtoGb.d.cts +65 -0
- package/dist/http-status.cjs +173 -0
- package/dist/http-status.d.cts +142 -0
- package/dist/http-status.d.mts +142 -0
- package/dist/http-status.mjs +171 -0
- package/dist/index.cjs +2551 -0
- package/dist/index.d.cts +1493 -0
- package/dist/index.d.mts +1493 -0
- package/dist/index.mjs +2357 -0
- package/dist/object-B0TV3eHx.d.mts +8052 -0
- package/dist/object-Blq0Amdv.d.cts +8052 -0
- package/dist/objectify-CDs0Fbr1.mjs +417 -0
- package/dist/objectify-DIJ-OBmo.cjs +524 -0
- package/dist/paginator.cjs +245 -0
- package/dist/paginator.d.cts +144 -0
- package/dist/paginator.d.mts +144 -0
- package/dist/paginator.mjs +243 -0
- package/dist/parse-2ubxXZRp.cjs +211 -0
- package/dist/parse-N7g942uy.mjs +164 -0
- package/dist/pluralizer-BjMIc6uT.d.mts +42 -0
- package/dist/pluralizer-Cb6ZmrDl.d.cts +42 -0
- package/dist/pluralizer.cjs +678 -0
- package/dist/pluralizer.d.cts +152 -0
- package/dist/pluralizer.d.mts +152 -0
- package/dist/pluralizer.mjs +676 -0
- package/dist/primitives-B26uZolQ.cjs +228 -0
- package/dist/primitives-KsFUp3kQ.mjs +144 -0
- package/dist/specials-D48_IZbd.d.mts +108 -0
- package/dist/specials-DzLr1ZgU.cjs +477 -0
- package/dist/specials-LVONlKbQ.d.cts +108 -0
- package/dist/specials-uhDuRg8H.mjs +292 -0
- package/dist/string-CBAbxaG1.d.mts +258 -0
- package/dist/string-CsNsm_65.d.cts +258 -0
- package/dist/stylog.cjs +621 -0
- package/dist/stylog.d.cts +49 -0
- package/dist/stylog.d.mts +49 -0
- package/dist/stylog.mjs +614 -0
- package/dist/timezone-B2OYK6Fh.mjs +5589 -0
- package/dist/timezone-Beh9IGpw.cjs +5625 -0
- package/dist/types/array.cjs +16 -0
- package/dist/types/array.d.cts +18 -0
- package/dist/types/array.d.mts +18 -0
- package/dist/types/array.mjs +17 -0
- package/dist/types/colors.cjs +16 -0
- package/dist/types/colors.d.cts +18 -0
- package/dist/types/colors.d.mts +18 -0
- package/dist/types/colors.mjs +17 -0
- package/dist/types/converter.cjs +16 -0
- package/dist/types/converter.d.cts +18 -0
- package/dist/types/converter.d.mts +18 -0
- package/dist/types/converter.mjs +17 -0
- package/dist/types/form.cjs +16 -0
- package/dist/types/form.d.cts +18 -0
- package/dist/types/form.d.mts +18 -0
- package/dist/types/form.mjs +17 -0
- package/dist/types/hash.cjs +16 -0
- package/dist/types/hash.d.cts +18 -0
- package/dist/types/hash.d.mts +18 -0
- package/dist/types/hash.mjs +17 -0
- package/dist/types/http-status.cjs +16 -0
- package/dist/types/http-status.d.cts +18 -0
- package/dist/types/http-status.d.mts +18 -0
- package/dist/types/http-status.mjs +17 -0
- package/dist/types/index.cjs +16 -0
- package/dist/types/index.d.cts +18 -0
- package/dist/types/index.d.mts +18 -0
- package/dist/types/index.mjs +17 -0
- package/dist/types/number.cjs +16 -0
- package/dist/types/number.d.cts +18 -0
- package/dist/types/number.d.mts +18 -0
- package/dist/types/number.mjs +17 -0
- package/dist/types/object.cjs +16 -0
- package/dist/types/object.d.cts +18 -0
- package/dist/types/object.d.mts +18 -0
- package/dist/types/object.mjs +17 -0
- package/dist/types/pluralizer.cjs +16 -0
- package/dist/types/pluralizer.d.cts +18 -0
- package/dist/types/pluralizer.d.mts +18 -0
- package/dist/types/pluralizer.mjs +17 -0
- package/dist/types/string.cjs +16 -0
- package/dist/types/string.d.cts +18 -0
- package/dist/types/string.d.mts +18 -0
- package/dist/types/string.mjs +17 -0
- package/dist/types/stylog.cjs +16 -0
- package/dist/types/stylog.d.cts +18 -0
- package/dist/types/stylog.d.mts +18 -0
- package/dist/types/stylog.mjs +17 -0
- package/dist/types/utils.cjs +16 -0
- package/dist/types/utils.d.cts +18 -0
- package/dist/types/utils.d.mts +18 -0
- package/dist/types/utils.mjs +17 -0
- package/dist/types/verbalizer.cjs +16 -0
- package/dist/types/verbalizer.d.cts +30 -0
- package/dist/types/verbalizer.d.mts +30 -0
- package/dist/types/verbalizer.mjs +17 -0
- package/dist/utilities-CLUmdQeV.cjs +140 -0
- package/dist/utilities-m5yFKqLd.mjs +105 -0
- package/dist/utils-ClW9LA6f.mjs +449 -0
- package/dist/utils-DLFRgXUC.cjs +568 -0
- package/dist/verbalizer.cjs +998 -0
- package/dist/verbalizer.d.cts +148 -0
- package/dist/verbalizer.d.mts +148 -0
- package/dist/verbalizer.mjs +996 -0
- package/package.json +249 -0
|
@@ -0,0 +1,912 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026 - present Nazmul Hassan
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
//#region src/http-status/constants.ts
|
|
18
|
+
/** HTTP status data from {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status MDN} */
|
|
19
|
+
const HTTP_STATUS_DATA = /* @__PURE__ */ Object.freeze([
|
|
20
|
+
{
|
|
21
|
+
category: "informational",
|
|
22
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/100",
|
|
23
|
+
code: 100,
|
|
24
|
+
name: "CONTINUE",
|
|
25
|
+
readableName: "Continue",
|
|
26
|
+
message: "Continue the request",
|
|
27
|
+
description: "This interim response indicates that the client should continue the request or ignore the response if the request is already finished."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
category: "informational",
|
|
31
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/101",
|
|
32
|
+
code: 101,
|
|
33
|
+
name: "SWITCHING_PROTOCOLS",
|
|
34
|
+
readableName: "Switching Protocols",
|
|
35
|
+
message: "Switching Protocols",
|
|
36
|
+
description: "This code is sent in response to an Upgrade request header from the client and indicates the protocol the server is switching to."
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
category: "informational",
|
|
40
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/102",
|
|
41
|
+
code: 102,
|
|
42
|
+
name: "PROCESSING",
|
|
43
|
+
readableName: "Processing",
|
|
44
|
+
message: "Processing",
|
|
45
|
+
description: "This code was used in WebDAV contexts to indicate that a request has been received by the server, but no status was available at the time of the response."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
category: "informational",
|
|
49
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/103",
|
|
50
|
+
code: 103,
|
|
51
|
+
name: "EARLY_HINTS",
|
|
52
|
+
readableName: "Early Hints",
|
|
53
|
+
message: "Early Hints",
|
|
54
|
+
description: "This status code is primarily intended to be used with the Link header, letting the user agent start preloading resources while the server prepares a response or preconnect to an origin from which the page will need resources."
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
category: "success",
|
|
58
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/200",
|
|
59
|
+
code: 200,
|
|
60
|
+
name: "OK",
|
|
61
|
+
readableName: "Ok",
|
|
62
|
+
message: "The request succeeded",
|
|
63
|
+
description: "The request succeeded. The result and meaning of \"success\" depends on the HTTP method: GET: The resource has been fetched and transmitted in the message body. HEAD: Representation headers are included in the response without any message body. PUT or POST: The resource describing the result of the action is transmitted in the message body. TRACE: The message body contains the request as received by the server."
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
category: "success",
|
|
67
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/201",
|
|
68
|
+
code: 201,
|
|
69
|
+
name: "CREATED",
|
|
70
|
+
readableName: "Created",
|
|
71
|
+
message: "The request succeeded, and a new resource was created",
|
|
72
|
+
description: "The request succeeded, and a new resource was created as a result. This is typically the response sent after POST requests, or some PUT requests."
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
category: "success",
|
|
76
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/202",
|
|
77
|
+
code: 202,
|
|
78
|
+
name: "ACCEPTED",
|
|
79
|
+
readableName: "Accepted",
|
|
80
|
+
message: "The request has been received but not yet acted upon",
|
|
81
|
+
description: "The request has been received but not yet acted upon. It is noncommittal, since there is no way in HTTP to later send an asynchronous response indicating the outcome of the request. It is intended for cases where another process or server handles the request, or for batch processing."
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
category: "success",
|
|
85
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/203",
|
|
86
|
+
code: 203,
|
|
87
|
+
name: "NON_AUTHORITATIVE_INFORMATION",
|
|
88
|
+
readableName: "Non-Authoritative Information",
|
|
89
|
+
message: "Non-Authoritative Information",
|
|
90
|
+
description: "This response code means the returned metadata is not exactly the same as is available from the origin server, but is collected from a local or a third-party copy. This is mostly used for mirrors or backups of another resource. Except for that specific case, the 200 OK response is preferred to this status."
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
category: "success",
|
|
94
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/204",
|
|
95
|
+
code: 204,
|
|
96
|
+
name: "NO_CONTENT",
|
|
97
|
+
readableName: "No Content",
|
|
98
|
+
message: "There is no content to send for this request",
|
|
99
|
+
description: "There is no content to send for this request, but the headers are useful. The user agent may update its cached headers for this resource with the new ones."
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
category: "success",
|
|
103
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/205",
|
|
104
|
+
code: 205,
|
|
105
|
+
name: "RESET_CONTENT",
|
|
106
|
+
readableName: "Reset Content",
|
|
107
|
+
message: "Reset Content",
|
|
108
|
+
description: "Tells the user agent to reset the document which sent this request."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
category: "success",
|
|
112
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/206",
|
|
113
|
+
code: 206,
|
|
114
|
+
name: "PARTIAL_CONTENT",
|
|
115
|
+
readableName: "Partial Content",
|
|
116
|
+
message: "Partial Content",
|
|
117
|
+
description: "This response code is used in response to a range request when the client has requested a part or parts of a resource."
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
category: "success",
|
|
121
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/207",
|
|
122
|
+
code: 207,
|
|
123
|
+
name: "MULTI_STATUS",
|
|
124
|
+
readableName: "Multi-Status",
|
|
125
|
+
message: "Multi-Status",
|
|
126
|
+
description: "Conveys information about multiple resources, for situations where multiple status codes might be appropriate."
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
category: "success",
|
|
130
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/208",
|
|
131
|
+
code: 208,
|
|
132
|
+
name: "ALREADY_REPORTED",
|
|
133
|
+
readableName: "Already Reported",
|
|
134
|
+
message: "Already Reported",
|
|
135
|
+
description: "Used inside a \"<dav:propstat>\" response element to avoid repeatedly enumerating the internal members of multiple bindings to the same collection."
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
category: "success",
|
|
139
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/226",
|
|
140
|
+
code: 226,
|
|
141
|
+
name: "IM_USED",
|
|
142
|
+
readableName: "IM Used",
|
|
143
|
+
message: "Instance-Manipulations applied to the current instance",
|
|
144
|
+
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."
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
category: "redirection",
|
|
148
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/300",
|
|
149
|
+
code: 300,
|
|
150
|
+
name: "MULTIPLE_CHOICES",
|
|
151
|
+
readableName: "Multiple Choices",
|
|
152
|
+
message: "Multiple Choices",
|
|
153
|
+
description: "In agent-driven content negotiation, the request has more than one possible response and the user agent or user should choose one of them. There is no standardized way for clients to automatically choose one of the responses, so this is rarely used."
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
category: "redirection",
|
|
157
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/301",
|
|
158
|
+
code: 301,
|
|
159
|
+
name: "MOVED_PERMANENTLY",
|
|
160
|
+
readableName: "Moved Permanently",
|
|
161
|
+
message: "The URL of the requested resource has been changed permanently",
|
|
162
|
+
description: "The URL of the requested resource has been changed permanently. The new URL is given in the response."
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
category: "redirection",
|
|
166
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/302",
|
|
167
|
+
code: 302,
|
|
168
|
+
name: "FOUND",
|
|
169
|
+
readableName: "Found",
|
|
170
|
+
message: "URI of requested resource has been changed temporarily",
|
|
171
|
+
description: "This response code means that the URI of requested resource has been changed temporarily. Further changes in the URI might be made in the future, so the same URI should be used by the client in future requests."
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
category: "redirection",
|
|
175
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/303",
|
|
176
|
+
code: 303,
|
|
177
|
+
name: "SEE_OTHER",
|
|
178
|
+
readableName: "See Other",
|
|
179
|
+
message: "See Other",
|
|
180
|
+
description: "The server sent this response to direct the client to get the requested resource at another URI with a GET request."
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
category: "redirection",
|
|
184
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/304",
|
|
185
|
+
code: 304,
|
|
186
|
+
name: "NOT_MODIFIED",
|
|
187
|
+
readableName: "Not Modified",
|
|
188
|
+
message: "Not Modified",
|
|
189
|
+
description: "This is used for caching purposes. It tells the client that the response has not been modified, so the client can continue to use the same cached version of the response."
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
category: "redirection",
|
|
193
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status#305_use_proxy",
|
|
194
|
+
code: 305,
|
|
195
|
+
name: "USE_PROXY",
|
|
196
|
+
readableName: "Use Proxy",
|
|
197
|
+
message: "Use Proxy",
|
|
198
|
+
description: "Defined in a previous version of the HTTP specification to indicate that a requested response must be accessed by a proxy. It has been deprecated due to security concerns regarding in-band configuration of a proxy."
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
category: "redirection",
|
|
202
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status#306_unused",
|
|
203
|
+
code: 306,
|
|
204
|
+
name: "UNUSED",
|
|
205
|
+
readableName: "unused",
|
|
206
|
+
message: "unused",
|
|
207
|
+
description: "This response code is no longer used; but is reserved. It was used in a previous version of the HTTP/1.1 specification."
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
category: "redirection",
|
|
211
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/307",
|
|
212
|
+
code: 307,
|
|
213
|
+
name: "TEMPORARY_REDIRECT",
|
|
214
|
+
readableName: "Temporary Redirect",
|
|
215
|
+
message: "Temporary Redirect",
|
|
216
|
+
description: "The server sends this response to direct the client to get the requested resource at another URI with the same method that was used in the prior request. This has the same semantics as the 302 Found response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the redirected request."
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
category: "redirection",
|
|
220
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/308",
|
|
221
|
+
code: 308,
|
|
222
|
+
name: "PERMANENT_REDIRECT",
|
|
223
|
+
readableName: "Permanent Redirect",
|
|
224
|
+
message: "Permanent Redirect",
|
|
225
|
+
description: "This means that the resource is now permanently located at another URI, specified by the Location response header. This has the same semantics as the 301 Moved Permanently HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request."
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
category: "clientError",
|
|
229
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/400",
|
|
230
|
+
code: 400,
|
|
231
|
+
name: "BAD_REQUEST",
|
|
232
|
+
readableName: "Bad Request",
|
|
233
|
+
message: "Bad Request",
|
|
234
|
+
description: "The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing)."
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
category: "clientError",
|
|
238
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/401",
|
|
239
|
+
code: 401,
|
|
240
|
+
name: "UNAUTHORIZED",
|
|
241
|
+
readableName: "Unauthorized",
|
|
242
|
+
message: "Unauthorized request",
|
|
243
|
+
description: "Although the HTTP standard specifies \"unauthorized\", semantically this response means \"unauthenticated\". That is, the client must authenticate itself to get the requested response."
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
category: "clientError",
|
|
247
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/402",
|
|
248
|
+
code: 402,
|
|
249
|
+
name: "PAYMENT_REQUIRED",
|
|
250
|
+
readableName: "Payment Required",
|
|
251
|
+
message: "Payment Required",
|
|
252
|
+
description: "The initial purpose of this code was for digital payment systems, however this status code is rarely used and no standard convention exists."
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
category: "clientError",
|
|
256
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/403",
|
|
257
|
+
code: 403,
|
|
258
|
+
name: "FORBIDDEN",
|
|
259
|
+
readableName: "Forbidden",
|
|
260
|
+
message: "Forbidden request",
|
|
261
|
+
description: "The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server."
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
category: "clientError",
|
|
265
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/404",
|
|
266
|
+
code: 404,
|
|
267
|
+
name: "NOT_FOUND",
|
|
268
|
+
readableName: "Not Found",
|
|
269
|
+
message: "Not Found",
|
|
270
|
+
description: "The server cannot find the requested resource. In the browser, this means the URL is not recognized. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 Forbidden to hide the existence of a resource from an unauthorized client. This response code is probably the most well known due to its frequent occurrence on the web."
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
category: "clientError",
|
|
274
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/405",
|
|
275
|
+
code: 405,
|
|
276
|
+
name: "METHOD_NOT_ALLOWED",
|
|
277
|
+
readableName: "Method Not Allowed",
|
|
278
|
+
message: "Method Not Allowed",
|
|
279
|
+
description: "The request method is known by the server but is not supported by the target resource. For example, an API may not allow DELETE on a resource, or the TRACE method entirely."
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
category: "clientError",
|
|
283
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/406",
|
|
284
|
+
code: 406,
|
|
285
|
+
name: "NOT_ACCEPTABLE",
|
|
286
|
+
readableName: "Not Acceptable",
|
|
287
|
+
message: "Not Acceptable",
|
|
288
|
+
description: "This response is sent when the web server, after performing server-driven content negotiation, doesn't find any content that conforms to the criteria given by the user agent."
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
category: "clientError",
|
|
292
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/407",
|
|
293
|
+
code: 407,
|
|
294
|
+
name: "PROXY_AUTHENTICATION_REQUIRED",
|
|
295
|
+
readableName: "Proxy Authentication Required",
|
|
296
|
+
message: "Proxy Authentication Required",
|
|
297
|
+
description: "This is similar to 401 Unauthorized but authentication is needed to be done by a proxy."
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
category: "clientError",
|
|
301
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/408",
|
|
302
|
+
code: 408,
|
|
303
|
+
name: "REQUEST_TIMEOUT",
|
|
304
|
+
readableName: "Request Timeout",
|
|
305
|
+
message: "Request Timeout",
|
|
306
|
+
description: "This response is sent on an idle connection by some servers, even without any previous request by the client. It means that the server would like to shut down this unused connection. This response is used much more since some browsers use HTTP pre-connection mechanisms to speed up browsing. Some servers may shut down a connection without sending this message."
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
category: "clientError",
|
|
310
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/409",
|
|
311
|
+
code: 409,
|
|
312
|
+
name: "CONFLICT",
|
|
313
|
+
readableName: "Conflict",
|
|
314
|
+
message: "Conflict",
|
|
315
|
+
description: "This response is sent when a request conflicts with the current state of the server. In WebDAV remote web authoring, 409 responses are errors sent to the client so that a user might be able to resolve a conflict and resubmit the request."
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
category: "clientError",
|
|
319
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/410",
|
|
320
|
+
code: 410,
|
|
321
|
+
name: "GONE",
|
|
322
|
+
readableName: "Gone",
|
|
323
|
+
message: "Content has been permanently deleted",
|
|
324
|
+
description: "This response is sent when the requested content has been permanently deleted from server, with no forwarding address. Clients are expected to remove their caches and links to the resource. The HTTP specification intends this status code to be used for \"limited-time, promotional services\". APIs should not feel compelled to indicate resources that have been deleted with this status code."
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
category: "clientError",
|
|
328
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/411",
|
|
329
|
+
code: 411,
|
|
330
|
+
name: "LENGTH_REQUIRED",
|
|
331
|
+
readableName: "Length Required",
|
|
332
|
+
message: "Length Required",
|
|
333
|
+
description: "Server rejected the request because the Content-Length header field is not defined and the server requires it."
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
category: "clientError",
|
|
337
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/412",
|
|
338
|
+
code: 412,
|
|
339
|
+
name: "PRECONDITION_FAILED",
|
|
340
|
+
readableName: "Precondition Failed",
|
|
341
|
+
message: "Precondition Failed",
|
|
342
|
+
description: "In conditional requests, the client has indicated preconditions in its headers which the server does not meet."
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
category: "clientError",
|
|
346
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/413",
|
|
347
|
+
code: 413,
|
|
348
|
+
name: "CONTENT_TOO_LARGE",
|
|
349
|
+
readableName: "Content Too Large",
|
|
350
|
+
message: "Content Too Large",
|
|
351
|
+
description: "The request body is larger than limits defined by server. The server might close the connection or return an Retry-After header field."
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
category: "clientError",
|
|
355
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/414",
|
|
356
|
+
code: 414,
|
|
357
|
+
name: "URI_TOO_LONG",
|
|
358
|
+
readableName: "URI Too Long",
|
|
359
|
+
message: "URI Too Long",
|
|
360
|
+
description: "The URI requested by the client is longer than the server is willing to interpret."
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
category: "clientError",
|
|
364
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/415",
|
|
365
|
+
code: 415,
|
|
366
|
+
name: "UNSUPPORTED_MEDIA_TYPE",
|
|
367
|
+
readableName: "Unsupported Media Type",
|
|
368
|
+
message: "Unsupported Media Type",
|
|
369
|
+
description: "The media format of the requested data is not supported by the server, so the server is rejecting the request."
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
category: "clientError",
|
|
373
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/416",
|
|
374
|
+
code: 416,
|
|
375
|
+
name: "RANGE_NOT_SATISFIABLE",
|
|
376
|
+
readableName: "Range Not Satisfiable",
|
|
377
|
+
message: "Range Not Satisfiable",
|
|
378
|
+
description: "The ranges specified by the Range header field in the request cannot be fulfilled. It's possible that the range is outside the size of the target resource's data."
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
category: "clientError",
|
|
382
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/417",
|
|
383
|
+
code: 417,
|
|
384
|
+
name: "EXPECTATION_FAILED",
|
|
385
|
+
readableName: "Expectation Failed",
|
|
386
|
+
message: "Expectation Failed",
|
|
387
|
+
description: "This response code means the expectation indicated by the Expect request header field cannot be met by the server."
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
category: "clientError",
|
|
391
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/418",
|
|
392
|
+
code: 418,
|
|
393
|
+
name: "I_M_A_TEAPOT",
|
|
394
|
+
readableName: "I'm a teapot",
|
|
395
|
+
message: "I'm a teapot",
|
|
396
|
+
description: "The server refuses the attempt to brew coffee with a teapot."
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
category: "clientError",
|
|
400
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/421",
|
|
401
|
+
code: 421,
|
|
402
|
+
name: "MISDIRECTED_REQUEST",
|
|
403
|
+
readableName: "Misdirected Request",
|
|
404
|
+
message: "Misdirected Request",
|
|
405
|
+
description: "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."
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
category: "clientError",
|
|
409
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/422",
|
|
410
|
+
code: 422,
|
|
411
|
+
name: "UNPROCESSABLE_CONTENT",
|
|
412
|
+
readableName: "Unprocessable Content",
|
|
413
|
+
message: "Unprocessable Content",
|
|
414
|
+
description: "The request was well-formed but was unable to be followed due to semantic errors."
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
category: "clientError",
|
|
418
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/423",
|
|
419
|
+
code: 423,
|
|
420
|
+
name: "LOCKED",
|
|
421
|
+
readableName: "Locked",
|
|
422
|
+
message: "The resource is locked",
|
|
423
|
+
description: "The resource that is being accessed is locked."
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
category: "clientError",
|
|
427
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/424",
|
|
428
|
+
code: 424,
|
|
429
|
+
name: "FAILED_DEPENDENCY",
|
|
430
|
+
readableName: "Failed Dependency",
|
|
431
|
+
message: "Failed Dependency",
|
|
432
|
+
description: "The request failed due to failure of a previous request."
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
category: "clientError",
|
|
436
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/425",
|
|
437
|
+
code: 425,
|
|
438
|
+
name: "TOO_EARLY",
|
|
439
|
+
readableName: "Too Early",
|
|
440
|
+
message: "Too Early",
|
|
441
|
+
description: "Indicates that the server is unwilling to risk processing a request that might be replayed."
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
category: "clientError",
|
|
445
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/426",
|
|
446
|
+
code: 426,
|
|
447
|
+
name: "UPGRADE_REQUIRED",
|
|
448
|
+
readableName: "Upgrade Required",
|
|
449
|
+
message: "Upgrade Required",
|
|
450
|
+
description: "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. The server sends an Upgrade header in a 426 response to indicate the required protocol(s)."
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
category: "clientError",
|
|
454
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/428",
|
|
455
|
+
code: 428,
|
|
456
|
+
name: "PRECONDITION_REQUIRED",
|
|
457
|
+
readableName: "Precondition Required",
|
|
458
|
+
message: "Precondition Required",
|
|
459
|
+
description: "The origin server requires the request to be conditional. This response is intended to prevent the 'lost update' problem, where a client GETs a resource's state, modifies it and PUTs it back to the server, when meanwhile a third party has modified the state on the server, leading to a conflict."
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
category: "clientError",
|
|
463
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/429",
|
|
464
|
+
code: 429,
|
|
465
|
+
name: "TOO_MANY_REQUESTS",
|
|
466
|
+
readableName: "Too Many Requests",
|
|
467
|
+
message: "Too Many Requests",
|
|
468
|
+
description: "The user has sent too many requests in a given amount of time (rate limiting)."
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
category: "clientError",
|
|
472
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/431",
|
|
473
|
+
code: 431,
|
|
474
|
+
name: "REQUEST_HEADER_FIELDS_TOO_LARGE",
|
|
475
|
+
readableName: "Request Header Fields Too Large",
|
|
476
|
+
message: "Request Header Fields Too Large",
|
|
477
|
+
description: "The server is unwilling to process the request because its header fields are too large. The request may be resubmitted after reducing the size of the request header fields."
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
category: "clientError",
|
|
481
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/451",
|
|
482
|
+
code: 451,
|
|
483
|
+
name: "UNAVAILABLE_FOR_LEGAL_REASONS",
|
|
484
|
+
readableName: "Unavailable For Legal Reasons",
|
|
485
|
+
message: "Unavailable For Legal Reasons",
|
|
486
|
+
description: "The user agent requested a resource that cannot legally be provided, such as a web page censored by a government."
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
category: "serverError",
|
|
490
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/500",
|
|
491
|
+
code: 500,
|
|
492
|
+
name: "INTERNAL_SERVER_ERROR",
|
|
493
|
+
readableName: "Internal Server Error",
|
|
494
|
+
message: "Internal Server Error",
|
|
495
|
+
description: "The server has encountered a situation it does not know how to handle. This error is generic, indicating that the server cannot find a more appropriate 5XX status code to respond with."
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
category: "serverError",
|
|
499
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/501",
|
|
500
|
+
code: 501,
|
|
501
|
+
name: "NOT_IMPLEMENTED",
|
|
502
|
+
readableName: "Not Implemented",
|
|
503
|
+
message: "Not Implemented",
|
|
504
|
+
description: "The request method is not supported by the server and cannot be handled. The only methods that servers are required to support (and therefore that must not return this code) are GET and HEAD."
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
category: "serverError",
|
|
508
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/502",
|
|
509
|
+
code: 502,
|
|
510
|
+
name: "BAD_GATEWAY",
|
|
511
|
+
readableName: "Bad Gateway",
|
|
512
|
+
message: "Bad Gateway",
|
|
513
|
+
description: "This error response means that the server, while working as a gateway to get a response needed to handle the request, got an invalid response."
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
category: "serverError",
|
|
517
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/503",
|
|
518
|
+
code: 503,
|
|
519
|
+
name: "SERVICE_UNAVAILABLE",
|
|
520
|
+
readableName: "Service Unavailable",
|
|
521
|
+
message: "Service Unavailable",
|
|
522
|
+
description: "The server is not ready to handle the request. Common causes are a server that is down for maintenance or that is overloaded. Note that together with this response, a user-friendly page explaining the problem should be sent. This response should be used for temporary conditions and the Retry-After HTTP header should, if possible, contain the estimated time before the recovery of the service. The webmaster must also take care about the caching-related headers that are sent along with this response, as these temporary condition responses should usually not be cached."
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
category: "serverError",
|
|
526
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/504",
|
|
527
|
+
code: 504,
|
|
528
|
+
name: "GATEWAY_TIMEOUT",
|
|
529
|
+
readableName: "Gateway Timeout",
|
|
530
|
+
message: "Gateway Timeout",
|
|
531
|
+
description: "This error response is given when the server is acting as a gateway and cannot get a response in time."
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
category: "serverError",
|
|
535
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/505",
|
|
536
|
+
code: 505,
|
|
537
|
+
name: "HTTP_VERSION_NOT_SUPPORTED",
|
|
538
|
+
readableName: "HTTP Version Not Supported",
|
|
539
|
+
message: "HTTP Version Not Supported",
|
|
540
|
+
description: "The HTTP version used in the request is not supported by the server."
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
category: "serverError",
|
|
544
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/506",
|
|
545
|
+
code: 506,
|
|
546
|
+
name: "VARIANT_ALSO_NEGOTIATES",
|
|
547
|
+
readableName: "Variant Also Negotiates",
|
|
548
|
+
message: "Variant Also Negotiates",
|
|
549
|
+
description: "The server has an internal configuration error: during content negotiation, the chosen variant is configured to engage in content negotiation itself, which results in circular references when creating responses."
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
category: "serverError",
|
|
553
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/507",
|
|
554
|
+
code: 507,
|
|
555
|
+
name: "INSUFFICIENT_STORAGE",
|
|
556
|
+
readableName: "Insufficient Storage",
|
|
557
|
+
message: "Insufficient Storage",
|
|
558
|
+
description: "The method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request."
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
category: "serverError",
|
|
562
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/508",
|
|
563
|
+
code: 508,
|
|
564
|
+
name: "LOOP_DETECTED",
|
|
565
|
+
readableName: "Loop Detected",
|
|
566
|
+
message: "Detected an infinite loop",
|
|
567
|
+
description: "The server detected an infinite loop while processing the request."
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
category: "serverError",
|
|
571
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/510",
|
|
572
|
+
code: 510,
|
|
573
|
+
name: "NOT_EXTENDED",
|
|
574
|
+
readableName: "Not Extended",
|
|
575
|
+
message: "Not Extended",
|
|
576
|
+
description: "The client request declares an HTTP Extension (RFC 2774) that should be used to process the request, but the extension is not supported."
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
category: "serverError",
|
|
580
|
+
link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/511",
|
|
581
|
+
code: 511,
|
|
582
|
+
name: "NETWORK_AUTHENTICATION_REQUIRED",
|
|
583
|
+
readableName: "Network Authentication Required",
|
|
584
|
+
message: "Network Authentication Required",
|
|
585
|
+
description: "Indicates that the client needs to authenticate to gain network access."
|
|
586
|
+
}
|
|
587
|
+
]);
|
|
588
|
+
/** List of {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status HTTP Status Names with Corresponding Codes} */
|
|
589
|
+
const HTTP_STATUS_CODES = /* @__PURE__ */ Object.freeze({
|
|
590
|
+
/**
|
|
591
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/100 Continue}
|
|
592
|
+
* - This interim response indicates that the client should continue the request or ignore the response if the request is already finished.
|
|
593
|
+
*/
|
|
594
|
+
CONTINUE: 100,
|
|
595
|
+
/**
|
|
596
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/101 Switching Protocols}
|
|
597
|
+
* - This code is sent in response to an Upgrade request header from the client and indicates the protocol the server is switching to.
|
|
598
|
+
*/
|
|
599
|
+
SWITCHING_PROTOCOLS: 101,
|
|
600
|
+
/**
|
|
601
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/102 Processing}
|
|
602
|
+
* @deprecated This code was used in WebDAV contexts to indicate that a request has been received by the server, but no status was available at the time of the response.
|
|
603
|
+
*/
|
|
604
|
+
PROCESSING: 102,
|
|
605
|
+
/**
|
|
606
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/103 Early Hints}
|
|
607
|
+
* - This status code is primarily intended to be used with the Link header, letting the user agent start preloading resources while the server prepares a response or preconnect to an origin from which the page will need resources.
|
|
608
|
+
*/
|
|
609
|
+
EARLY_HINTS: 103,
|
|
610
|
+
/**
|
|
611
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/200 OK}
|
|
612
|
+
* - The request succeeded. The result and meaning of "success" depends on the HTTP method:
|
|
613
|
+
* - GET: The resource has been fetched and transmitted in the message body.
|
|
614
|
+
* - HEAD: Representation headers are included in the response without any message body.
|
|
615
|
+
* - PUT or POST: The resource describing the result of the action is transmitted in the message body.
|
|
616
|
+
* - TRACE: The message body contains the request as received by the server.
|
|
617
|
+
*/
|
|
618
|
+
OK: 200,
|
|
619
|
+
/**
|
|
620
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/201 Created}
|
|
621
|
+
* - The request succeeded, and a new resource was created as a result. This is typically the response sent after POST requests, or some PUT requests.
|
|
622
|
+
*/
|
|
623
|
+
CREATED: 201,
|
|
624
|
+
/**
|
|
625
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/202 Accepted}
|
|
626
|
+
* - The request has been received but not yet acted upon. It is noncommittal, since there is no way in HTTP to later send an asynchronous response indicating the outcome of the request. It is intended for cases where another process or server handles the request, or for batch processing.
|
|
627
|
+
*/
|
|
628
|
+
ACCEPTED: 202,
|
|
629
|
+
/**
|
|
630
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/203 Non-Authoritative Information}
|
|
631
|
+
* - This response code means the returned metadata is not exactly the same as is available from the origin server, but is collected from a local or a third-party copy. This is mostly used for mirrors or backups of another resource. Except for that specific case, the 200 OK response is preferred to this status.
|
|
632
|
+
*/
|
|
633
|
+
NON_AUTHORITATIVE_INFORMATION: 203,
|
|
634
|
+
/**
|
|
635
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/204 No Content}
|
|
636
|
+
* - There is no content to send for this request, but the headers are useful. The user agent may update its cached headers for this resource with the new ones.
|
|
637
|
+
*/
|
|
638
|
+
NO_CONTENT: 204,
|
|
639
|
+
/**
|
|
640
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/205 Reset Content}
|
|
641
|
+
* - Tells the user agent to reset the document which sent this request.
|
|
642
|
+
*/
|
|
643
|
+
RESET_CONTENT: 205,
|
|
644
|
+
/**
|
|
645
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/206 Partial Content}
|
|
646
|
+
* - This response code is used in response to a range request when the client has requested a part or parts of a resource.
|
|
647
|
+
*/
|
|
648
|
+
PARTIAL_CONTENT: 206,
|
|
649
|
+
/**
|
|
650
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/207 Multi-Status}
|
|
651
|
+
* - Conveys information about multiple resources, for situations where multiple status codes might be appropriate.
|
|
652
|
+
*/
|
|
653
|
+
MULTI_STATUS: 207,
|
|
654
|
+
/**
|
|
655
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/208 Already Reported}
|
|
656
|
+
* - Used inside a `<dav:propstat>` response element to avoid repeatedly enumerating the internal members of multiple bindings to the same collection.
|
|
657
|
+
*/
|
|
658
|
+
ALREADY_REPORTED: 208,
|
|
659
|
+
/**
|
|
660
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/226 IM Used}
|
|
661
|
+
* - 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.
|
|
662
|
+
*/
|
|
663
|
+
IM_USED: 226,
|
|
664
|
+
/**
|
|
665
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/300 Multiple Choices}
|
|
666
|
+
* - In agent-driven content negotiation, the request has more than one possible response and the user agent or user should choose one of them. There is no standardized way for clients to automatically choose one of the responses, so this is rarely used.
|
|
667
|
+
*/
|
|
668
|
+
MULTIPLE_CHOICES: 300,
|
|
669
|
+
/**
|
|
670
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/301 Moved Permanently}
|
|
671
|
+
* - The URL of the requested resource has been changed permanently. The new URL is given in the response.
|
|
672
|
+
*/
|
|
673
|
+
MOVED_PERMANENTLY: 301,
|
|
674
|
+
/**
|
|
675
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/302 Found}
|
|
676
|
+
* - This response code means that the URI of requested resource has been changed temporarily. Further changes in the URI might be made in the future, so the same URI should be used by the client in future requests.
|
|
677
|
+
*/
|
|
678
|
+
FOUND: 302,
|
|
679
|
+
/**
|
|
680
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/303 See Other}
|
|
681
|
+
* - The server sent this response to direct the client to get the requested resource at another URI with a GET request.
|
|
682
|
+
*/
|
|
683
|
+
SEE_OTHER: 303,
|
|
684
|
+
/**
|
|
685
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/304 Not Modified}
|
|
686
|
+
* - This is used for caching purposes. It tells the client that the response has not been modified, so the client can continue to use the same cached version of the response.
|
|
687
|
+
*/
|
|
688
|
+
NOT_MODIFIED: 304,
|
|
689
|
+
/**
|
|
690
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status#305_use_proxy Use Proxy}
|
|
691
|
+
* @deprecated Defined in a previous version of the HTTP specification to indicate that a requested response must be accessed by a proxy. It has been deprecated due to security concerns regarding in-band configuration of a proxy.
|
|
692
|
+
*/
|
|
693
|
+
USE_PROXY: 305,
|
|
694
|
+
/**
|
|
695
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status#306_unused unused}
|
|
696
|
+
* @deprecated This response code is no longer used; but is reserved. It was used in a previous version of the HTTP/1.1 specification.
|
|
697
|
+
*/
|
|
698
|
+
UNUSED: 306,
|
|
699
|
+
/**
|
|
700
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/307 Temporary Redirect}
|
|
701
|
+
* - The server sends this response to direct the client to get the requested resource at another URI with the same method that was used in the prior request. This has the same semantics as the 302 Found response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the redirected request.
|
|
702
|
+
*/
|
|
703
|
+
TEMPORARY_REDIRECT: 307,
|
|
704
|
+
/**
|
|
705
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/308 Permanent Redirect}
|
|
706
|
+
* - This means that the resource is now permanently located at another URI, specified by the Location response header. This has the same semantics as the 301 Moved Permanently HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request.
|
|
707
|
+
*/
|
|
708
|
+
PERMANENT_REDIRECT: 308,
|
|
709
|
+
/**
|
|
710
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/400 Bad Request}
|
|
711
|
+
* - The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
|
|
712
|
+
*/
|
|
713
|
+
BAD_REQUEST: 400,
|
|
714
|
+
/**
|
|
715
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/401 Unauthorized}
|
|
716
|
+
* - Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
|
|
717
|
+
*/
|
|
718
|
+
UNAUTHORIZED: 401,
|
|
719
|
+
/**
|
|
720
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/402 Payment Required}
|
|
721
|
+
* - The initial purpose of this code was for digital payment systems, however this status code is rarely used and no standard convention exists.
|
|
722
|
+
*/
|
|
723
|
+
PAYMENT_REQUIRED: 402,
|
|
724
|
+
/**
|
|
725
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/403 Forbidden}
|
|
726
|
+
* - The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.
|
|
727
|
+
*/
|
|
728
|
+
FORBIDDEN: 403,
|
|
729
|
+
/**
|
|
730
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/404 Not Found}
|
|
731
|
+
* - The server cannot find the requested resource. In the browser, this means the URL is not recognized. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 Forbidden to hide the existence of a resource from an unauthorized client. This response code is probably the most well known due to its frequent occurrence on the web.
|
|
732
|
+
*/
|
|
733
|
+
NOT_FOUND: 404,
|
|
734
|
+
/**
|
|
735
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/405 Method Not Allowed}
|
|
736
|
+
* - The request method is known by the server but is not supported by the target resource. For example, an API may not allow DELETE on a resource, or the TRACE method entirely.
|
|
737
|
+
*/
|
|
738
|
+
METHOD_NOT_ALLOWED: 405,
|
|
739
|
+
/**
|
|
740
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/406 Not Acceptable}
|
|
741
|
+
* - This response is sent when the web server, after performing server-driven content negotiation, doesn't find any content that conforms to the criteria given by the user agent.
|
|
742
|
+
*/
|
|
743
|
+
NOT_ACCEPTABLE: 406,
|
|
744
|
+
/**
|
|
745
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/407 Proxy Authentication Required}
|
|
746
|
+
* - This is similar to 401 Unauthorized but authentication is needed to be done by a proxy.
|
|
747
|
+
*/
|
|
748
|
+
PROXY_AUTHENTICATION_REQUIRED: 407,
|
|
749
|
+
/**
|
|
750
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/408 Request Timeout}
|
|
751
|
+
* - This response is sent on an idle connection by some servers, even without any previous request by the client. It means that the server would like to shut down this unused connection. This response is used much more since some browsers use HTTP pre-connection mechanisms to speed up browsing. Some servers may shut down a connection without sending this message.
|
|
752
|
+
*/
|
|
753
|
+
REQUEST_TIMEOUT: 408,
|
|
754
|
+
/**
|
|
755
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/409 Conflict}
|
|
756
|
+
* - This response is sent when a request conflicts with the current state of the server. In WebDAV remote web authoring, 409 responses are errors sent to the client so that a user might be able to resolve a conflict and resubmit the request.
|
|
757
|
+
*/
|
|
758
|
+
CONFLICT: 409,
|
|
759
|
+
/**
|
|
760
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/410 Gone}
|
|
761
|
+
* - This response is sent when the requested content has been permanently deleted from server, with no forwarding address. Clients are expected to remove their caches and links to the resource. The HTTP specification intends this status code to be used for "limited-time, promotional services". APIs should not feel compelled to indicate resources that have been deleted with this status code.
|
|
762
|
+
*/
|
|
763
|
+
GONE: 410,
|
|
764
|
+
/**
|
|
765
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/411 Length Required}
|
|
766
|
+
* - Server rejected the request because the Content-Length header field is not defined and the server requires it.
|
|
767
|
+
*/
|
|
768
|
+
LENGTH_REQUIRED: 411,
|
|
769
|
+
/**
|
|
770
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/412 Precondition Failed}
|
|
771
|
+
* - In conditional requests, the client has indicated preconditions in its headers which the server does not meet.
|
|
772
|
+
*/
|
|
773
|
+
PRECONDITION_FAILED: 412,
|
|
774
|
+
/**
|
|
775
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/413 Content Too Large}
|
|
776
|
+
* - The request body is larger than limits defined by server. The server might close the connection or return an Retry-After header field.
|
|
777
|
+
*/
|
|
778
|
+
CONTENT_TOO_LARGE: 413,
|
|
779
|
+
/**
|
|
780
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/414 URI Too Long}
|
|
781
|
+
* - The URI requested by the client is longer than the server is willing to interpret.
|
|
782
|
+
*/
|
|
783
|
+
URI_TOO_LONG: 414,
|
|
784
|
+
/**
|
|
785
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/415 Unsupported Media Type}
|
|
786
|
+
* - The media format of the requested data is not supported by the server, so the server is rejecting the request.
|
|
787
|
+
*/
|
|
788
|
+
UNSUPPORTED_MEDIA_TYPE: 415,
|
|
789
|
+
/**
|
|
790
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/416 Range Not Satisfiable}
|
|
791
|
+
* - The ranges specified by the Range header field in the request cannot be fulfilled. It's possible that the range is outside the size of the target resource's data.
|
|
792
|
+
*/
|
|
793
|
+
RANGE_NOT_SATISFIABLE: 416,
|
|
794
|
+
/**
|
|
795
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/417 Expectation Failed}
|
|
796
|
+
* - This response code means the expectation indicated by the Expect request header field cannot be met by the server.
|
|
797
|
+
*/
|
|
798
|
+
EXPECTATION_FAILED: 417,
|
|
799
|
+
/**
|
|
800
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/418 I'm a teapot}
|
|
801
|
+
* - The server refuses the attempt to brew coffee with a teapot.
|
|
802
|
+
*/
|
|
803
|
+
I_M_A_TEAPOT: 418,
|
|
804
|
+
/**
|
|
805
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/421 Misdirected Request}
|
|
806
|
+
* - 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.
|
|
807
|
+
*/
|
|
808
|
+
MISDIRECTED_REQUEST: 421,
|
|
809
|
+
/**
|
|
810
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/422 Unprocessable Content}
|
|
811
|
+
* - The request was well-formed but was unable to be followed due to semantic errors.
|
|
812
|
+
*/
|
|
813
|
+
UNPROCESSABLE_CONTENT: 422,
|
|
814
|
+
/**
|
|
815
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/423 Locked}
|
|
816
|
+
* - The resource that is being accessed is locked.
|
|
817
|
+
*/
|
|
818
|
+
LOCKED: 423,
|
|
819
|
+
/**
|
|
820
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/424 Failed Dependency}
|
|
821
|
+
* - The request failed due to failure of a previous request.
|
|
822
|
+
*/
|
|
823
|
+
FAILED_DEPENDENCY: 424,
|
|
824
|
+
/**
|
|
825
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/425 Too Early}
|
|
826
|
+
* - Indicates that the server is unwilling to risk processing a request that might be replayed.
|
|
827
|
+
*/
|
|
828
|
+
TOO_EARLY: 425,
|
|
829
|
+
/**
|
|
830
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/426 Upgrade Required}
|
|
831
|
+
* - 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. The server sends an Upgrade header in a 426 response to indicate the required protocol(s).
|
|
832
|
+
*/
|
|
833
|
+
UPGRADE_REQUIRED: 426,
|
|
834
|
+
/**
|
|
835
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/428 Precondition Required}
|
|
836
|
+
* - The origin server requires the request to be conditional. This response is intended to prevent the 'lost update' problem, where a client GETs a resource's state, modifies it and PUTs it back to the server, when meanwhile a third party has modified the state on the server, leading to a conflict.
|
|
837
|
+
*/
|
|
838
|
+
PRECONDITION_REQUIRED: 428,
|
|
839
|
+
/**
|
|
840
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/429 Too Many Requests}
|
|
841
|
+
* - The user has sent too many requests in a given amount of time (rate limiting).
|
|
842
|
+
*/
|
|
843
|
+
TOO_MANY_REQUESTS: 429,
|
|
844
|
+
/**
|
|
845
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/431 Request Header Fields Too Large}
|
|
846
|
+
* - The server is unwilling to process the request because its header fields are too large. The request may be resubmitted after reducing the size of the request header fields.
|
|
847
|
+
*/
|
|
848
|
+
REQUEST_HEADER_FIELDS_TOO_LARGE: 431,
|
|
849
|
+
/**
|
|
850
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/451 Unavailable For Legal Reasons}
|
|
851
|
+
* - The user agent requested a resource that cannot legally be provided, such as a web page censored by a government.
|
|
852
|
+
*/
|
|
853
|
+
UNAVAILABLE_FOR_LEGAL_REASONS: 451,
|
|
854
|
+
/**
|
|
855
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/500 Internal Server Error}
|
|
856
|
+
* - The server has encountered a situation it does not know how to handle. This error is generic, indicating that the server cannot find a more appropriate 5XX status code to respond with.
|
|
857
|
+
*/
|
|
858
|
+
INTERNAL_SERVER_ERROR: 500,
|
|
859
|
+
/**
|
|
860
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/501 Not Implemented}
|
|
861
|
+
* - The request method is not supported by the server and cannot be handled. The only methods that servers are required to support (and therefore that must not return this code) are GET and HEAD.
|
|
862
|
+
*/
|
|
863
|
+
NOT_IMPLEMENTED: 501,
|
|
864
|
+
/**
|
|
865
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/502 Bad Gateway}
|
|
866
|
+
* - This error response means that the server, while working as a gateway to get a response needed to handle the request, got an invalid response.
|
|
867
|
+
*/
|
|
868
|
+
BAD_GATEWAY: 502,
|
|
869
|
+
/**
|
|
870
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/503 Service Unavailable}
|
|
871
|
+
* - The server is not ready to handle the request. Common causes are a server that is down for maintenance or that is overloaded. Note that together with this response, a user-friendly page explaining the problem should be sent. This response should be used for temporary conditions and the Retry-After HTTP header should, if possible, contain the estimated time before the recovery of the service. The webmaster must also take care about the caching-related headers that are sent along with this response, as these temporary condition responses should usually not be cached.
|
|
872
|
+
*/
|
|
873
|
+
SERVICE_UNAVAILABLE: 503,
|
|
874
|
+
/**
|
|
875
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/504 Gateway Timeout}
|
|
876
|
+
* - This error response is given when the server is acting as a gateway and cannot get a response in time.
|
|
877
|
+
*/
|
|
878
|
+
GATEWAY_TIMEOUT: 504,
|
|
879
|
+
/**
|
|
880
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/505 HTTP Version Not Supported}
|
|
881
|
+
* - The HTTP version used in the request is not supported by the server.
|
|
882
|
+
*/
|
|
883
|
+
HTTP_VERSION_NOT_SUPPORTED: 505,
|
|
884
|
+
/**
|
|
885
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/506 Variant Also Negotiates}
|
|
886
|
+
* - The server has an internal configuration error: during content negotiation, the chosen variant is configured to engage in content negotiation itself, which results in circular references when creating responses.
|
|
887
|
+
*/
|
|
888
|
+
VARIANT_ALSO_NEGOTIATES: 506,
|
|
889
|
+
/**
|
|
890
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/507 Insufficient Storage}
|
|
891
|
+
* - The method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request.
|
|
892
|
+
*/
|
|
893
|
+
INSUFFICIENT_STORAGE: 507,
|
|
894
|
+
/**
|
|
895
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/508 Loop Detected}
|
|
896
|
+
* - The server detected an infinite loop while processing the request.
|
|
897
|
+
*/
|
|
898
|
+
LOOP_DETECTED: 508,
|
|
899
|
+
/**
|
|
900
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/510 Not Extended}
|
|
901
|
+
* - The client request declares an HTTP Extension (RFC 2774) that should be used to process the request, but the extension is not supported.
|
|
902
|
+
*/
|
|
903
|
+
NOT_EXTENDED: 510,
|
|
904
|
+
/**
|
|
905
|
+
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/511 Network Authentication Required}
|
|
906
|
+
* - Indicates that the client needs to authenticate to gain network access.
|
|
907
|
+
*/
|
|
908
|
+
NETWORK_AUTHENTICATION_REQUIRED: 511
|
|
909
|
+
});
|
|
910
|
+
|
|
911
|
+
//#endregion
|
|
912
|
+
export { HTTP_STATUS_DATA as n, HTTP_STATUS_CODES as t };
|