Last active
August 29, 2015 13:57
-
-
Save cadu-leite/9813163 to your computer and use it in GitHub Desktop.
HTTP Request STATUS CODE DICT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# source: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes | |
] | |
STATUS_CODE = { | |
100: "Continue", | |
101: "Switching Protocols", | |
102: "Processing", | |
103: "Checkpoint", | |
122: "Request-URI too long", | |
200: "OK", | |
201: "Created", | |
202: "Accepted", | |
203: "Non-Authoritative Information (since HTTP/1.1)", | |
204: "No Content", | |
205: "Reset Content", | |
206: "Partial Content", | |
207: "Multi-Status (WebDAV) (RFC 4918)", | |
226: "IM Used (RFC 3229)", | |
300: "Multiple Choices", | |
301: "Moved Permanently", | |
302: "Found", | |
303: "See Other (since HTTP/1.1)", | |
304: "Not Modified", | |
305: "Use Proxy (since HTTP/1.1)", | |
306: "Switch Proxy", | |
307: "Temporary Redirect (since HTTP/1.1)", | |
308: "Resume Incomplete", | |
400: "Bad Request", | |
401: "Unauthorized", | |
402: "Payment Required", | |
403: "Forbidden", | |
404: "Not Found", | |
405: "Method Not Allowed", | |
406: "Not Acceptable", | |
407: "Proxy Authentication Required", | |
408: "Request Timeout", | |
409: "Conflict", | |
410: "Gone", | |
411: "Length Required", | |
412: "Precondition Failed", | |
413: "Request Entity Too Large", | |
414: "Request-URI Too Long", | |
415: "Unsupported Media Type", | |
416: "Requested Range Not Satisfiable", | |
417: "Expectation Failed", | |
418: "I'm a teapot (RFC 2324)", | |
422: "Unprocessable Entity (WebDAV) (RFC 4918)", | |
423: "Locked (WebDAV) (RFC 4918)", | |
424: "Failed Dependency (WebDAV) (RFC 4918)", | |
425: "Unordered Collection (RFC 3648)", | |
426: "Upgrade Required (RFC 2817)", | |
428: "Precondition Required", | |
429: "Too Many Requests", | |
431: "Request Header Fields Too Large", | |
444: "No Response", | |
449: "Retry With", | |
450: "Blocked by Windows Parental Controls", | |
499: "Client Closed Request", | |
500: "Internal Server Error", | |
501: "Not Implemented", | |
502: "Bad Gateway", | |
503: "Service Unavailable", | |
504: "Gateway Timeout", | |
505: "HTTP Version Not Supported", | |
506: "Variant Also Negotiates (RFC 2295)", | |
507: "Insufficient Storage (WebDAV) (RFC 4918)", | |
509: "Bandwidth Limit Exceeded (Apache bw/limited extension)", | |
510: "Not Extended (RFC 2774)", | |
511: "Network Authentication Required", | |
598: "(Informal convention) network read timeout error ** seems to be true only fomr microsoft proxies", | |
599: "(Informal convention) network connect timeout error", | |
} | |
#1xx Informational Responses | |
#HTTP status codes in the 1xx are typically informational. | |
#2xx Successful Responses | |
#Status codes in the 2xx range indicate that the transaction was received, understood, accepted and processed successfully. | |
#3xx Redirection Responses | |
#HTTP status codes in the 3xx range pertain to redirection. The client must take additional action to complete the request. | |
#4xx Client Error | |
#HTTP status codes in the 4xx range indicate that a problem occurred with the request. | |
#5xx Server Error | |
#Error codes in the 5xx range indicate that server is aware that it has encountered an error or is otherwise incapable of performing the request. | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment