Skip to content

Commit 55486b2

Browse files
Repository upload
1 parent d3b4c55 commit 55486b2

File tree

5 files changed

+783
-0
lines changed

5 files changed

+783
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Http Status Codes
2+
3+
HTTP status codes list (Code, Status, Description) in csv and json.
4+
5+
## What is HTTP status code?
6+
7+
An HTTP status code is a message a website 's server sends to the browser to indicate whether or not that request can be fulfilled. Status codes specs are set by the W3C. Status codes are embedded in the HTTP header of a page to tell the browser the result of its request.
8+
9+
# Sources
10+
11+
- [Http Status Codes](https://www.webfx.com/web-development/glossary/http-status-codes/).
12+
13+
# Tools
14+
15+
- Beautify CSV using [U SEO Tools](https://www.useotools.com/beautify-csv).
16+
17+
- Convert CSV to json using [Code Beautify](https://codebeautify.org/csv-to-json-converter).
18+
19+
- Minifier json using [Code Beautify](https://codebeautify.org/jsonminifier).

csv/hsc_csv.csv

Lines changed: 340 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,340 @@
1+
Code,
2+
Status,
3+
Description
4+
100,
5+
Continue,
6+
"This means that the server has received the request headers, and that the clie" +
7+
"nt should proceed to send the request body (in the case of a request for which" +
8+
" a body needs to be sent; for example, a POST request). If the request body is" +
9+
" large, sending it to a server when a request has already been rejected based " +
10+
"upon inappropriate headers is inefficient. To have a server check if the reque" +
11+
"st could be accepted based on the request's headers alone, a client must send " +
12+
"Expect: 100-continue as a header in its initial request[2] and check if a 100 " +
13+
"Continue status code is received in response before continuing (or receive 417" +
14+
" Expectation Failed and not continue).[2]"
15+
101,
16+
Switching Protocols,
17+
"This means the requester has asked the server to switch protocols and the serv" +
18+
"er is acknowledging that it will do so.[2]"
19+
102,
20+
Processing,
21+
"(WebDAV; RFC 2518) As a WebDAV request may contain many sub-requests involving" +
22+
" file operations, it may take a long time to complete the request. This code i" +
23+
"ndicates that the server has received and is processing the request, but no re" +
24+
"sponse is available yet.[3] This prevents the client from timing out and assum" +
25+
"ing the request was lost."
26+
200,
27+
OK,
28+
"Standard response for successful HTTP requests. The actual response will depen" +
29+
"d on the request method used. In a GET request, the response will contain an e" +
30+
"ntity corresponding to the requested resource. In a POST request, the response" +
31+
" will contain an entity describing or containing the result of the action.[2]"
32+
201,
33+
Created,
34+
"The request has been fulfilled and resulted in a new resource being created.[2" +
35+
"]"
36+
202,
37+
Accepted,
38+
"The request has been accepted for processing, but the processing has not been " +
39+
"completed. The request might or might not eventually be acted upon, as it migh" +
40+
"t be disallowed when processing actually takes place.[2]"
41+
203,
42+
Non - Authoritative Information,
43+
"(since HTTP/1.1) The server successfully processed the request, but is returni" +
44+
"ng information that may be from another source.[2]"
45+
204,
46+
No Content,
47+
"The server successfully processed the request, but is not returning any conten" +
48+
"t.[2]"
49+
205,
50+
Reset Content,
51+
"The server successfully processed the request, but is not returning any conten" +
52+
"t. Unlike a 204 response, this response requires that the requester reset the " +
53+
"document view.[2]"
54+
206,
55+
Partial Content,
56+
"The server is delivering only part of the resource due to a range header sent " +
57+
"by the client. The range header is used by tools like wget to enable resuming " +
58+
"interrupted downloads or split a download into multiple simultaneous streams.[" +
59+
"2]"
60+
207,
61+
Multi - Status,
62+
"(WebDAV; RFC 4918) The message body that follows is an XML message and can con" +
63+
"tain a number of separate response codes, depending on how many sub-requests w" +
64+
"ere made.[4]"
65+
208,
66+
Already Reported,
67+
"(WebDAV; RFC 5842) The members of a DAV binding have already been enumerated i" +
68+
"n a previous reply to this request and are not being included again."
69+
226,
70+
IM Used,
71+
"(RFC 3229) The server has fulfilled a GET request for the resource, and the re" +
72+
"sponse is a representation of the result of one or more instance-manipulations" +
73+
" applied to the current instance.[5]"
74+
300,
75+
Multiple Choices,
76+
"Indicates multiple options for the resource that the client may follow. It, fo" +
77+
"r instance, could be used to present different format options for video, list " +
78+
"files with different extensions, or word sense disambiguation.[2]"
79+
301,
80+
Moved Permanently,
81+
"This and all future requests should be directed to the given URI.[2]"
82+
302,
83+
Found,
84+
"This is an example of industry practice contradicting the standard.[2] The HTT" +
85+
"P/1.0 specification (RFC 1945) required the client to perform a temporary redi" +
86+
"rect (the original describing phrase was " "Moved Temporarily" "),[6] but popular browsers implemented 302 with the functionality of a 303 See" +
87+
" Other. Therefore, HTTP/1.1 added status codes 303 and 307 to distinguish betw" +
88+
"een the two behaviours.[7] However, some Web applications and frameworks use t" +
89+
"he 302 status code as if it were the 303.[citation needed]"
90+
303,
91+
See Other,
92+
"(since HTTP/1.1) The response to the request can be found under another URI us" +
93+
"ing a GET method. When received in response to a POST (or PUT/DELETE), it shou" +
94+
"ld be assumed that the server has received the data and the redirect should be" +
95+
" issued with a separate GET message.[2]"
96+
304,
97+
Not Modified,
98+
"Indicates the resource has not been modified since last requested.[2] Typicall" +
99+
"y, the HTTP client provides a header like the If-Modified-Since header to prov" +
100+
"ide a time against which to compare. Using this saves bandwidth and reprocessi" +
101+
"ng on both the server and client, as only the header data must be sent and rec" +
102+
"eived in comparison to the entirety of the page being re-processed by the serv" +
103+
"er, then sent again using more bandwidth of the server and client."
104+
305,
105+
Use Proxy,
106+
"(since HTTP/1.1) Many HTTP clients (such as Mozilla[8] and Internet Explorer) " +
107+
"do not correctly handle responses with this status code, primarily for securit" +
108+
"y reasons.[2]"
109+
306,
110+
Switch Proxy,
111+
"No longer used.[2] Originally meant " "Subsequent requests should use the specified proxy." "[9]"
112+
307,
113+
Temporary Redirect,
114+
"(since HTTP/1.1) In this case, the request should be repeated with another URI" +
115+
"; however, future requests can still use the original URI.[2] In contrast to 3" +
116+
"02, the request method should not be changed when reissuing the original reque" +
117+
"st. For instance, a POST request must be repeated using another POST request."
118+
308,
119+
Permanent Redirect,
120+
"(experimental Internet-Draft)[10] The request, and all future requests should " +
121+
"be repeated using another URI. 307 and 308 (as proposed) parallel the behaviou" +
122+
"rs of 302 and 301, but do not require the HTTP method to change. So, for examp" +
123+
"le, submitting a form to a permanently redirected resource may continue smooth" +
124+
"ly."
125+
400,
126+
Bad Request,
127+
"The request cannot be fulfilled due to bad syntax.[2]"
128+
401,
129+
Unauthorized,
130+
"Similar to 403 Forbidden, but specifically for use when authentication is poss" +
131+
"ible but has failed or not yet been provided.[2] The response must include a W" +
132+
"WW-Authenticate header field containing a challenge applicable to the requeste" +
133+
"d resource. See Basic access authentication and Digest access authentication."
134+
402,
135+
Payment Required,
136+
"Reserved for future use.[2] The original intention was that this code might be" +
137+
" used as part of some form of digital cash or micropayment scheme, but that ha" +
138+
"s not happened, and this code is not usually used. As an example of its use, h" +
139+
"owever, Apple's MobileMe service generates a 402 error (" "httpStatusCode:402" " in the Mac OS X Console log) if the MobileMe account is delinquent.[citation " +
140+
"needed]"
141+
403,
142+
Forbidden,
143+
"The request was a legal request, but the server is refusing to respond to it.[" +
144+
"2] Unlike a 401 Unauthorized response, authenticating will make no difference." +
145+
"[2]"
146+
404,
147+
Not Found,
148+
"The requested resource could not be found but may be available again in the fu" +
149+
"ture.[2] Subsequent requests by the client are permissible."
150+
405,
151+
Method Not Allowed,
152+
"A request was made of a resource using a request method not supported by that " +
153+
"resource;[2] for example, using GET on a form which requires data to be presen" +
154+
"ted via POST, or using PUT on a read-only resource."
155+
406,
156+
Not Acceptable,
157+
"The requested resource is only capable of generating content not acceptable ac" +
158+
"cording to the Accept headers sent in the request.[2]"
159+
407,
160+
Proxy Authentication Required,
161+
"The client must first authenticate itself with the proxy.[2]"
162+
408,
163+
Request Timeout,
164+
"The server timed out waiting for the request.[2] According to W3 HTTP specific" +
165+
"ations: " "The client did not produce a request within the time that the server was prepa" +
166+
"red to wait. The client MAY repeat the request without modifications at any la" +
167+
"ter time." ""
168+
409,
169+
Conflict,
170+
"Indicates that the request could not be processed because of conflict in the r" +
171+
"equest, such as an edit conflict.[2]"
172+
410,
173+
Gone,
174+
"Indicates that the resource requested is no longer available and will not be a" +
175+
"vailable again.[2] This should be used when a resource has been intentionally " +
176+
"removed and the resource should be purged. Upon receiving a 410 status code, t" +
177+
"he client should not request the resource again in the future. Clients such as" +
178+
" search engines should remove the resource from their indices. Most use cases " +
179+
"do not require clients and search engines to purge the resource, and a " "404 Not Found" " may be used instead."
180+
411,
181+
Length Required,
182+
"The request did not specify the length of its content, which is required by th" +
183+
"e requested resource.[2]"
184+
412,
185+
Precondition Failed,
186+
"The server does not meet one of the preconditions that the requester put on th" +
187+
"e request.[2]"
188+
413,
189+
Request Entity Too Large,
190+
"The request is larger than the server is willing or able to process.[2]"
191+
414,
192+
Request - URI Too Long,
193+
"The URI provided was too long for the server to process.[2]"
194+
415,
195+
Unsupported Media Type,
196+
"The request entity has a media type which the server or resource does not supp" +
197+
"ort.[2] For example, the client uploads an image as image/svg+xml, but the ser" +
198+
"ver requires that images use a different format."
199+
416,
200+
Requested Range Not Satisfiable,
201+
"The client has asked for a portion of the file, but the server cannot supply t" +
202+
"hat portion.[2] For example, if the client asked for a part of the file that l" +
203+
"ies beyond the end of the file."
204+
417,
205+
Expectation Failed,
206+
"The server cannot meet the requirements of the Expect request-header field.[2]"
207+
418,
208+
I’m a teapot,
209+
"(RFC 2324) This code was defined in 1998 as one of the traditional IETF April " +
210+
"Fools' jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol, and is not " +
211+
"expected to be implemented by actual HTTP servers. However, known implementati" +
212+
"ons do exist.[11]"
213+
420,
214+
Enhance Your Calm,
215+
"(Twitter) Returned by the Twitter Search and Trends API when the client is bei" +
216+
"ng rate limited.[12] Likely a reference to this number's association with mari" +
217+
"juana. Other services may wish to implement the 429 Too Many Requests response" +
218+
" code instead. The phrase " "Enhance Your Calm" " is a reference to Demolition Man (film). In the film, Sylvester Stallone's ch" +
219+
"aracter John Spartan is a hot-head in a generally more subdued future, and is " +
220+
"regularly told to " "Enhance your calm" " rather than a more common phrase like " "calm down" "."
221+
422,
222+
Unprocessable Entity,
223+
"(WebDAV; RFC 4918) The request was well-formed but was unable to be followed d" +
224+
"ue to semantic errors.[4]"
225+
423,
226+
Locked,
227+
"(WebDAV; RFC 4918) The resource that is being accessed is locked.[4]"
228+
424,
229+
Failed Dependency,
230+
"(WebDAV; RFC 4918) The request failed due to failure of a previous request (e." +
231+
"g. a PROPPATCH).[4]"
232+
424,
233+
Method Failure,
234+
"(WebDAV)[13] Indicates the method was not executed on a particular resource wi" +
235+
"thin its scope because some part of the method's execution failed causing the " +
236+
"entire method to be aborted."
237+
425,
238+
Unordered Collection,
239+
"(Internet draft) Defined in drafts of " "WebDAV Advanced Collections Protocol" ",[14] but not present in " "Web Distributed Authoring and Versioning (WebDAV) Ordered Collections Protocol" ".[15]"
240+
426,
241+
Upgrade Required,
242+
"(RFC 2817) The client should switch to a different protocol such as TLS/1.0.[1" +
243+
"6]"
244+
428,
245+
Precondition Required,
246+
"(RFC 6585) The origin server requires the request to be conditional. Intended " +
247+
"to prevent " "the 'lost update' problem, where a client GETs a resource's state, modifies it" +
248+
", and PUTs it back to the server, when meanwhile a third party has modified th" +
249+
"e state on the server, leading to a conflict." "[17]"
250+
429,
251+
Too Many Requests,
252+
"(RFC 6585) The user has sent too many requests in a given amount of time. Inte" +
253+
"nded for use with rate limiting schemes.[17]"
254+
431,
255+
Request Header Fields Too Large,
256+
"(RFC 6585) The server is unwilling to process the request because either an in" +
257+
"dividual header field, or all the header fields collectively, are too large.[1" +
258+
"7]"
259+
444,
260+
No Response,
261+
"(Nginx) Used in Nginx logs to indicate that the server has returned no informa" +
262+
"tion to the client and closed the connection (useful as a deterrent for malwar" +
263+
"e)."
264+
449,
265+
Retry With,
266+
"(Microsoft) A Microsoft extension. The request should be retried after perform" +
267+
"ing the appropriate action.[18] Often search-engines or custom applications wi" +
268+
"ll ignore required parameters. Where no default action is appropriate, the Avi" +
269+
"ongoo website sends a " "HTTP/1.1 449 Retry with valid parameters: param1, param2, . . ." " response. The applications may choose to learn, or not."
270+
450,
271+
Blocked by Windows Parental Controls,
272+
"(Microsoft) A Microsoft extension. This error is given when Windows Parental C" +
273+
"ontrols are turned on and are blocking access to the given webpage.[19]"
274+
451,
275+
Unavailable For Legal Reasons,
276+
"(Internet draft) Defined in the internet draft " "A New HTTP Status Code for Legally-restricted Resources" ",[20]. Intended to be used when resource access is denied for legal reasons, e" +
277+
".g. censorship or government-mandated blocked access. Likely a reference to th" +
278+
"e 1953 dystopian novel Fahrenheit 451, where books are outlawed."
279+
499,
280+
Client Closed Request,
281+
"(Nginx) Used in Nginx logs to indicate when the connection has been closed by " +
282+
"client while the server is still processing its request, making server unable " +
283+
"to send a status code back.[21]"
284+
500,
285+
Internal Server Error,
286+
"A generic error message, given when no more specific message is suitable.[2]"
287+
501,
288+
Not Implemented,
289+
"The server either does not recognise the request method, or it lacks the abili" +
290+
"ty to fulfill the request.[2]"
291+
502,
292+
Bad Gateway,
293+
"The server was acting as a gateway or proxy and received an invalid response f" +
294+
"rom the upstream server.[2]"
295+
503,
296+
Service Unavailable,
297+
"The server is currently unavailable (because it is overloaded or down for main" +
298+
"tenance).[2] Generally, this is a temporary state."
299+
504,
300+
Gateway Timeout,
301+
"The server was acting as a gateway or proxy and did not receive a timely respo" +
302+
"nse from the upstream server.[2]"
303+
505,
304+
HTTP Version Not Supported,
305+
"The server does not support the HTTP protocol version used in the request.[2]"
306+
506,
307+
Variant Also Negotiates,
308+
"(RFC 2295) Transparent content negotiation for the request results in a circul" +
309+
"ar reference.[22]"
310+
507,
311+
Insufficient Storage,
312+
"(WebDAV; RFC 4918) The server is unable to store the representation needed to " +
313+
"complete the request.[4]"
314+
508,
315+
Loop Detected,
316+
"(WebDAV; RFC 5842) The server detected an infinite loop while processing the r" +
317+
"equest (sent in lieu of 208)."
318+
509,
319+
Bandwidth Limit Exceeded,
320+
"(Apache bw/limited extension) This status code, while used by many servers, is" +
321+
" not specified in any RFCs."
322+
510,
323+
Not Extended,
324+
"(RFC 2774) Further extensions to the request are required for the server to fu" +
325+
"lfill it.[23]"
326+
511,
327+
Network Authentication Required,
328+
"(RFC 6585) The client needs to authenticate to gain network access. Intended f" +
329+
"or use by intercepting proxies used to control access to the network (e.g. " "captive portals" " used to require agreement to Terms of Service before granting full Internet a" +
330+
"ccess via a Wi-Fi hotspot).[17]"
331+
598,
332+
Network read timeout error,
333+
"(Unknown) This status code is not specified in any RFCs, but is used by Micros" +
334+
"oft Corp. HTTP proxies to signal a network read timeout behind the proxy to a " +
335+
"client in front of the proxy."
336+
599,
337+
Network connect timeout error,
338+
"(Unknown) This status code is not specified in any RFCs, but is used by Micros" +
339+
"oft Corp. HTTP proxies to signal a network connect timeout behind the proxy to" +
340+
" a client in front of the proxy."

0 commit comments

Comments
 (0)