Last active
July 3, 2023 20:54
-
-
Save moatorres/226a8165d328120c668fa16d96d0af37 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
[ | |
{ | |
"code": 100, | |
"name": "Continue", | |
"enum": "CONTINUE", | |
"reference": { | |
"info": "RFC 7231, Section 6.2.1", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.2.1" | |
}, | |
"description": "The server has received the request headers and the client should proceed to send the request body", | |
"usage": "Use this for use cases where the client has sent the request body in advance and it only remains for the server to receive the request headers", | |
"message": "Request headers received; Please continue sending the request body" | |
}, | |
{ | |
"code": 101, | |
"name": "Switching Protocols", | |
"enum": "SWITCHING_PROTOCOLS", | |
"reference": { | |
"info": "RFC 7231, Section 6.2.2", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.2.2" | |
}, | |
"description": "The requester has asked the server to switch protocols and the server has agreed to do so", | |
"usage": "Use this only for protocols where it is expected that the client will repeat the request via the new protocol", | |
"message": "Switching to new protocol; obey Upgrade header" | |
}, | |
{ | |
"code": 102, | |
"name": "Processing", | |
"enum": "PROCESSING", | |
"reference": { | |
"info": "RFC 2518, Section 10.1", | |
"url": "https://tools.ietf.org/html/rfc2518#section-10.1" | |
}, | |
"description": "This code indicates that the server has received and is processing the request, but no response is available yet", | |
"usage": "Use this only for actions that take a while to complete", | |
"message": "Request received; please continue" | |
}, | |
{ | |
"code": 103, | |
"name": "Early Hints", | |
"enum": "EARLY_HINTS", | |
"reference": { | |
"info": "RFC 8297", | |
"url": "https://tools.ietf.org/html/rfc8297" | |
}, | |
"description": "This status code is primarily intended to be used with the Link header to allow the user agent to start preloading resources while the server is still preparing a response", | |
"usage": "Use to inform the client to start preloading resources while the server is still preparing a response", | |
"message": "Link sent; preload capabilities" | |
}, | |
{ | |
"code": 200, | |
"name": "OK", | |
"enum": "OK", | |
"reference": { | |
"info": "RFC 7231, Section 6.3.1", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.3.1" | |
}, | |
"description": "The request has succeeded", | |
"usage": "Use this for successful synchronous requests and actions that do not return a value (e.g. DELETE)", | |
"message": "Request fulfilled, document follows" | |
}, | |
{ | |
"code": 201, | |
"name": "Created", | |
"enum": "CREATED", | |
"reference": { | |
"info": "RFC 7231, Section 6.3.2", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.3.2" | |
}, | |
"description": "The request has been fulfilled, resulting in the creation of a new resource", | |
"usage": "Use this status code to indicate that the request has been fulfilled and has resulted in one or more new resources being created", | |
"message": "Document created, URL follows" | |
}, | |
{ | |
"code": 202, | |
"name": "Accepted", | |
"enum": "ACCEPTED", | |
"reference": { | |
"info": "RFC 7231, Section 6.3.3", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.3.3" | |
}, | |
"description": "The request has been accepted for processing, but the processing has not been completed", | |
"usage": "Use this status code when processing a request asynchronously, e.g. using a worker thread or job queue", | |
"message": "Request accepted, processing continues off-line" | |
}, | |
{ | |
"code": 203, | |
"name": "Non-Authoritative Information", | |
"enum": "NON_AUTHORITATIVE_INFORMATION", | |
"reference": { | |
"info": "RFC 7231, Section 6.3.4", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.3.4" | |
}, | |
"description": "The request has been successfully processed, but is returning information that may be from another source", | |
"usage": "Use this status code when the returned information has been provided by a third party", | |
"message": "Request fulfilled from alternative location" | |
}, | |
{ | |
"code": 204, | |
"name": "No Content", | |
"enum": "NO_CONTENT", | |
"reference": { | |
"info": "RFC 7231, Section 6.3.5", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.3.5" | |
}, | |
"description": "The request has succeeded but no content has been sent in the response payload body", | |
"usage": "Use this status code when the response payload body is intentionally empty", | |
"message": "Request fulfilled, nothing follows" | |
}, | |
{ | |
"code": 205, | |
"name": "Reset Content", | |
"enum": "RESET_CONTENT", | |
"reference": { | |
"info": "RFC 7231, Section 6.3.6", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.3.6" | |
}, | |
"description": "The request has succeeded, but the client should reset the document view that caused the request to be sent", | |
"usage": "Use when you want to tell the client to reset the document view", | |
"message": "Clear input form for further input" | |
}, | |
{ | |
"code": 206, | |
"name": "Partial Content", | |
"enum": "PARTIAL_CONTENT", | |
"reference": { | |
"info": "RFC 7233, Section 4.1", | |
"url": "https://tools.ietf.org/html/rfc7233#section-4.1" | |
}, | |
"description": "The server has fulfilled the partial GET request for the resource", | |
"usage": "Use this status code for ranged requests (e.g. a GET with a Range header)", | |
"message": "Partial resource available" | |
}, | |
{ | |
"code": 207, | |
"name": "Multi-Status", | |
"enum": "MULTI_STATUS", | |
"reference": { | |
"info": "RFC 4918, Section 11.1", | |
"url": "https://tools.ietf.org/html/rfc4918#section-11.1" | |
}, | |
"description": "The server has fulfilled the GET request for the resource", | |
"usage": "Use this status code for WebDAV (RFC 4918) operations", | |
"message": "XML document contains multiple status codes" | |
}, | |
{ | |
"code": 208, | |
"name": "Already Reported", | |
"enum": "ALREADY_REPORTED", | |
"reference": { | |
"info": "RFC 5842, Section 7.1", | |
"url": "https://tools.ietf.org/html/rfc5842#section-7.1" | |
}, | |
"description": "The members of a DAV binding have already been enumerated in a preceding part of the (multistatus) response", | |
"usage": "Use this status code for WebDAV (RFC 5842) operations", | |
"message": "Further extensions to the request are required" | |
}, | |
{ | |
"code": 226, | |
"name": "IM Used", | |
"enum": "IM_USED", | |
"reference": { | |
"info": "RFC 3229, Section 10.4.1", | |
"url": "https://tools.ietf.org/html/rfc3229#section-10.4.1" | |
}, | |
"description": "The server has fulfilled a GET request for the resource", | |
"usage": "Use this status code for HTTP Delta encoding (RFC 3229) operations", | |
"message": "Request fulfilled, resource might have changed" | |
}, | |
{ | |
"code": 300, | |
"name": "Multiple Choices", | |
"enum": "MULTIPLE_CHOICES", | |
"reference": { | |
"info": "RFC 7231, Section 6.4.1", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.4.1" | |
}, | |
"description": "The request has more than one possible response. The user-agent or user should choose one of them", | |
"usage": "Use this status code when there is a list of possible responses that the user-agent may follow", | |
"message": "Object has several resources - see URI list" | |
}, | |
{ | |
"code": 301, | |
"name": "Moved Permanently", | |
"enum": "MOVED_PERMANENTLY", | |
"reference": { | |
"info": "RFC 7231, Section 6.4.2", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.4.2" | |
}, | |
"description": "The URL of the requested resource has been changed permanently. The new URL is given in the response", | |
"usage": "Use this status code when you want to tell the user-agent to change the URL that is stored", | |
"message": "Object moved permanently - see URI list" | |
}, | |
{ | |
"code": 302, | |
"name": "Found", | |
"enum": "FOUND", | |
"reference": { | |
"info": "RFC 7231, Section 6.4.3", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.4.3" | |
}, | |
"description": "This response code means that the URI of requested resource has been changed temporarily", | |
"usage": "Use when you want to tell the user-agent to visit another URL, but provide the same resource. For example, when a user-agent requests the URL /one and then follows a redirect to /two, the user-agent should not continue to request /one again", | |
"message": "Object moved temporarily - see URI list" | |
}, | |
{ | |
"code": 303, | |
"name": "See Other", | |
"enum": "SEE_OTHER", | |
"reference": { | |
"info": "RFC 7231, Section 6.4.4", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.4.4" | |
}, | |
"description": "The server sent this response to direct the client to get the requested resource at another URI with a GET request", | |
"usage": "Use this status code when you want to tell the user-agent to fetch a different URL", | |
"message": "Object moved - see Method and URL list" | |
}, | |
{ | |
"code": 304, | |
"name": "Not Modified", | |
"enum": "NOT_MODIFIED", | |
"reference": { | |
"info": "RFC 7232, Section 4.1", | |
"url": "https://tools.ietf.org/html/rfc7232#section-4.1" | |
}, | |
"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", | |
"usage": "Use this status code when you want to tell the user-agent to use the cached version of the response", | |
"message": "Object not modified since last requested" | |
}, | |
{ | |
"code": 305, | |
"name": "Use Proxy", | |
"enum": "USE_PROXY", | |
"reference": { | |
"info": "RFC 7231, Section 6.4.5", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.4.5" | |
}, | |
"description": "Was defined in a previous version of the HTTP specification to indicate that a requested response must be accessed by a proxy", | |
"usage": "This status code is no longer used, it is just reserved currently", | |
"message": "You must use proxy specified in Location to access this resource" | |
}, | |
{ | |
"code": 307, | |
"name": "Temporary Redirect", | |
"enum": "TEMPORARY_REDIRECT", | |
"reference": { | |
"info": "RFC 7231, Section 6.4.7", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.4.7" | |
}, | |
"description": "The server sends this response to direct the client to get the requested resource at another URI with same method that was used in the prior request", | |
"usage": "Use when you want to tell the user-agent to temporarily use another URL for the request", | |
"message": "Object moved temporarily - see URI list" | |
}, | |
{ | |
"code": 308, | |
"name": "Permanent Redirect", | |
"enum": "PERMANENT_REDIRECT", | |
"reference": { | |
"info": "RFC 7538, Section 3", | |
"url": "https://tools.ietf.org/html/rfc7538#section-3" | |
}, | |
"description": "This means that the resource is now permanently located at another URI, specified by the Location: HTTP Response header", | |
"usage": "Use this status code when you want to tell the user-agent to permanently use another URL for the request", | |
"message": "Object moved permanently - see URI list" | |
}, | |
{ | |
"code": 400, | |
"name": "Bad Request", | |
"enum": "BAD_REQUEST", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.1", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.1" | |
}, | |
"description": "The server could not understand the request due to invalid syntax", | |
"usage": "Use this status code when you want to tell the user-agent that it sent a bad request", | |
"message": "Bad request syntax or unsupported method" | |
}, | |
{ | |
"code": 401, | |
"name": "Unauthorized", | |
"enum": "UNAUTHORIZED", | |
"reference": { | |
"info": "RFC 7235, Section 3.1", | |
"url": "https://tools.ietf.org/html/rfc7235#section-3.1" | |
}, | |
"description": "Although the HTTP standard specifies \"unauthorized\", semantically this response means \"unauthenticated\". That is, the client must authenticate itself to get the requested response", | |
"usage": "Use this status code when you want to tell the user-agent to authenticate itself", | |
"message": "Unauthorized access to this resource" | |
}, | |
{ | |
"code": 402, | |
"name": "Payment Required", | |
"enum": "PAYMENT_REQUIRED", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.2", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.2" | |
}, | |
"description": "This response code is reserved for future use. Initial aim for creating this code was using it for digital payment systems, however this status code is used very rarely and no standard convention exists", | |
"usage": "Use when you want to tell the user-agent that it sent a bad request", | |
"message": "Payment required - no payment provided" | |
}, | |
{ | |
"code": 403, | |
"name": "Forbidden", | |
"enum": "FORBIDDEN", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.3", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.3" | |
}, | |
"description": "The client does not have access rights to the content, i.e. they are unauthorized, so server is rejecting to give proper response", | |
"usage": "Use this status code when the user-agent is trying to access to a restricted resource", | |
"message": "Request forbidden - authorization will not help" | |
}, | |
{ | |
"code": 404, | |
"name": "Not Found", | |
"enum": "NOT_FOUND", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.4", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.4" | |
}, | |
"description": "The server can not find requested resource. In the browser, this means the URL is not recognized", | |
"usage": "Use this status code when the user-agent is trying to access to a resource that does not exist", | |
"message": "No resource found for the requested route" | |
}, | |
{ | |
"code": 405, | |
"name": "Method Not Allowed", | |
"enum": "METHOD_NOT_ALLOWED", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.5", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.5" | |
}, | |
"description": "The request method is known by the server but has been disabled and cannot be used", | |
"usage": "Use this status code when the user-agent is trying to access to a resource with an invalid method", | |
"message": "Method is not allowed for the requested route" | |
}, | |
{ | |
"code": 406, | |
"name": "Not Acceptable", | |
"enum": "NOT_ACCEPTABLE", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.6", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.6" | |
}, | |
"description": "This response is sent when the web server, after performing server-driven content negotiation, doesn't find any content following the criteria given by the user agent", | |
"usage": "Use this status code when the user-agent is trying to access to a resource that is not valid for the given accept headers", | |
"message": "Not acceptable for content negotiation" | |
}, | |
{ | |
"code": 407, | |
"name": "Proxy Authentication Required", | |
"enum": "PROXY_AUTHENTICATION_REQUIRED", | |
"reference": { | |
"info": "RFC 7235, Section 3.2", | |
"url": "https://tools.ietf.org/html/rfc7235#section-3.2" | |
}, | |
"description": "This is similar to 401 but authentication is needed to be done by a proxy", | |
"usage": "Use this status code when the user-agent is trying to access to a resource that requires authentication by a proxy", | |
"message": "Proxy authentication required - client must first authenticate itself with the proxy" | |
}, | |
{ | |
"code": 408, | |
"name": "Request Timeout", | |
"enum": "REQUEST_TIMEOUT", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.7", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.7" | |
}, | |
"description": "This response is sent on an idle connection by some servers, even without any previous request by the client", | |
"usage": "Use this status code when the user-agent sent a request that the server could not complete in time", | |
"message": "Request timeout - server terminated connection" | |
}, | |
{ | |
"code": 409, | |
"name": "Conflict", | |
"enum": "CONFLICT", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.8", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.8" | |
}, | |
"description": "This response is sent when a request conflicts with the current state of the server", | |
"usage": "Use this status code when the user-agent sent a request that conflicts with the server state (e.g. a resource was modified but the client did not have the latest version)", | |
"message": "Request conflict with current state of server" | |
}, | |
{ | |
"code": 410, | |
"name": "Gone", | |
"enum": "GONE", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.9", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.9" | |
}, | |
"description": "This response is sent when the requested content has been permanently deleted from server, with no forwarding address", | |
"usage": "Use this status code when the user-agent is trying to access to a resource that is gone", | |
"message": "Resource is no longer available (Gone)" | |
}, | |
{ | |
"code": 411, | |
"name": "Length Required", | |
"enum": "LENGTH_REQUIRED", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.10", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.10" | |
}, | |
"description": "Server rejected the request because the Content-Length header field is not defined and the server requires it", | |
"usage": "Use this status code when the user-agent is trying to access to a resource that requires a content length header", | |
"message": "Content length required (RFC 7231)" | |
}, | |
{ | |
"code": 412, | |
"name": "Precondition Failed", | |
"enum": "PRECONDITION_FAILED", | |
"reference": { | |
"info": "RFC 7232, Section 4.2", | |
"url": "https://tools.ietf.org/html/rfc7232#section-4.2" | |
}, | |
"description": "The client has indicated preconditions in its headers which the server does not meet", | |
"usage": "Use this status code when the user-agent is trying to access to a resource with invalid preconditions", | |
"message": "Precondition failed (RFC 7232)" | |
}, | |
{ | |
"code": 413, | |
"name": "Payload Too Large", | |
"enum": "PAYLOAD_TOO_LARGE", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.11", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.11" | |
}, | |
"description": "Request entity is larger than limits defined by server; the server might close the connection or return an Retry-After header field", | |
"usage": "Use this status code when the user-agent is trying to send too large payload", | |
"message": "Payload too large (RFC 7231)" | |
}, | |
{ | |
"code": 414, | |
"name": "URI Too Long", | |
"enum": "URI_TOO_LONG", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.12", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.12" | |
}, | |
"description": "The URI requested by the client is longer than the server is willing to interpret", | |
"usage": "Use this status code when the user-agent is trying to access to a resource with too long URI", | |
"message": "URI too long (RFC 7231)" | |
}, | |
{ | |
"code": 415, | |
"name": "Unsupported Media Type", | |
"enum": "UNSUPPORTED_MEDIA_TYPE", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.13", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.13" | |
}, | |
"description": "The media format of the requested data is not supported by the server, so the server is rejecting the request", | |
"usage": "Use this status code when the user-agent is trying to access to a resource with unsupported media type", | |
"message": "Unsupported media type (RFC 7231)" | |
}, | |
{ | |
"code": 416, | |
"name": "Range Not Satisfiable", | |
"enum": "RANGE_NOT_SATISFIABLE", | |
"reference": { | |
"info": "RFC 7233, Section 4.4", | |
"url": "https://tools.ietf.org/html/rfc7233#section-4.4" | |
}, | |
"description": "The range specified by the Range header field in the request can't be fulfilled; it's possible that the range is outside the size of the target URI's data", | |
"usage": "Use this status code when the user-agent is trying to access to a resource with invalid range (e.g. out of bounds)", | |
"message": "Range not satisfiable (RFC 7233)" | |
}, | |
{ | |
"code": 417, | |
"name": "Expectation Failed", | |
"enum": "EXPECTATION_FAILED", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.14", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.14" | |
}, | |
"description": "This response code means the expectation indicated by the Expect request header field can't be met by the server", | |
"usage": "Use this status code when the user-agent is trying to access to a resource with invalid expectation (e.g. invalid token)", | |
"message": "Expectation failed (RFC 7231)" | |
}, | |
{ | |
"code": 418, | |
"name": "I'm a teapot", | |
"enum": "IM_A_TEAPOT", | |
"reference": { | |
"info": "RFC 2324, Section 2.3.2", | |
"url": "https://tools.ietf.org/html/rfc2324#section-2.3.2" | |
}, | |
"description": "The server refuses the attempt to brew coffee with a teapot", | |
"usage": "Use this status code when the user-agent is trying to brew coffee with a teapot", | |
"message": "I'm a teapot (RFC 2324)" | |
}, | |
{ | |
"code": 421, | |
"name": "Misdirected Request", | |
"enum": "MISDIRECTED_REQUEST", | |
"reference": { | |
"info": "RFC 7540, Section 9.1.2", | |
"url": "https://tools.ietf.org/html/rfc7540#section-9.1.2" | |
}, | |
"description": "The request was directed at a server that is not able to produce a response (for example because a connection reuse)", | |
"usage": "Use this status code when the user-agent is trying to access to a resource on the wrong server", | |
"message": "Misdirected request (for example because a connection reuse)" | |
}, | |
{ | |
"code": 422, | |
"name": "Unprocessable Entity", | |
"enum": "UNPROCESSABLE_ENTITY", | |
"reference": { | |
"info": "RFC 4918, Section 11.2", | |
"url": "https://tools.ietf.org/html/rfc4918#section-11.2" | |
}, | |
"description": "The request was well-formed but was unable to be followed due to semantic errors", | |
"usage": "Use this status code when the user-agent is trying to send invalid data", | |
"message": "Unprocessable entity (RFC 4918)" | |
}, | |
{ | |
"code": 423, | |
"name": "Locked", | |
"enum": "LOCKED", | |
"reference": { | |
"info": "RFC 4918, Section 11.3", | |
"url": "https://tools.ietf.org/html/rfc4918#section-11.3" | |
}, | |
"description": "The resource that is being accessed is locked", | |
"usage": "Use this status code when the user-agent is trying to access to a locked resource (e.g. editing a resource with a lock token that doesn't match the lock token stored by the server)", | |
"message": "Locked (RFC 4918)" | |
}, | |
{ | |
"code": 424, | |
"name": "Failed Dependency", | |
"enum": "FAILED_DEPENDENCY", | |
"reference": { | |
"info": "RFC 4918, Section 11.4", | |
"url": "https://tools.ietf.org/html/rfc4918#section-11.4" | |
}, | |
"description": "The request failed due to failure of a previous request (e.g., a PROPPATCH)", | |
"usage": "Use this status code when the user-agent is trying to access to a resource that cannot be accessed because of a failed dependency (e.g. a PROPPATCH that failed or a reference to a resource that cannot be found)", | |
"message": "Failed dependency (RFC 4918)" | |
}, | |
{ | |
"code": 425, | |
"name": "Too Early", | |
"enum": "TOO_EARLY", | |
"reference": { | |
"info": "RFC 8470, Section 5.2", | |
"url": "https://tools.ietf.org/html/rfc8470#section-5.2" | |
}, | |
"description": "Indicates that the server is unwilling to risk processing a request that might be replayed", | |
"usage": "Use this status code when the user-agent is trying to access to a resource too early in its lifecycle (e.g. before it has been activated)", | |
"message": "Too early (RFC 8470)" | |
}, | |
{ | |
"code": 426, | |
"name": "Upgrade Required", | |
"enum": "UPGRADE_REQUIRED", | |
"reference": { | |
"info": "RFC 7231, Section 6.5.15", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.5.15" | |
}, | |
"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", | |
"usage": "Use this status code when the user-agent is trying to access to a resource with an invalid protocol (e.g. HTTP instead of HTTPS)", | |
"message": "Upgrade required (RFC 7231)" | |
}, | |
{ | |
"code": 428, | |
"name": "Precondition Required", | |
"enum": "PRECONDITION_REQUIRED", | |
"reference": { | |
"info": "RFC 6585, Section 3", | |
"url": "https://tools.ietf.org/html/rfc6585#section-3" | |
}, | |
"description": "The origin server requires the request to be conditional", | |
"usage": "Use this status code when the user-agent is trying to access to a resource without providing the required precondition (e.g. POST without Content-Length header)", | |
"message": "Precondition required (RFC 6585)" | |
}, | |
{ | |
"code": 429, | |
"name": "Too Many Requests", | |
"enum": "TOO_MANY_REQUESTS", | |
"reference": { | |
"info": "RFC 6585, Section 4", | |
"url": "https://tools.ietf.org/html/rfc6585#section-4" | |
}, | |
"description": "The user has sent too many requests in a given amount of time (\"rate limiting\")", | |
"usage": "Use this status code when the user-agent is rate limiting the server", | |
"message": "Too many requests (RFC 6585)" | |
}, | |
{ | |
"code": 431, | |
"name": "Request Header Fields Too Large", | |
"enum": "REQUEST_HEADER_FIELDS_TOO_LARGE", | |
"reference": { | |
"info": "RFC 6585, Section 5", | |
"url": "https://tools.ietf.org/html/rfc6585#section-5" | |
}, | |
"description": "The server is unwilling to process the request because its header fields are too large", | |
"usage": "Use this status code when the user-agent is trying to access to a resource and the request header fields are too large (e.g. too many cookies)", | |
"message": "Request header fields too large (RFC 6585)" | |
}, | |
{ | |
"code": 451, | |
"name": "Unavailable For Legal Reasons", | |
"enum": "UNAVAILABLE_FOR_LEGAL_REASONS", | |
"reference": { | |
"info": "RFC 7725, Section 3", | |
"url": "https://tools.ietf.org/html/rfc7725#section-3" | |
}, | |
"description": "The user-agent requested a resource that cannot legally be provided, such as a web page censored by a government", | |
"usage": "Use this status code when the user-agent is trying to access to a resource that is censored", | |
"message": "Unavailable for legal reasons (RFC 7725)" | |
}, | |
{ | |
"code": 500, | |
"name": "Internal Server Error", | |
"enum": "INTERNAL_SERVER_ERROR", | |
"reference": { | |
"info": "RFC 7231, Section 6.6.1", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.6.1" | |
}, | |
"description": "The server has encountered a situation it doesn't know how to handle", | |
"usage": "Use this status code when the server is aware that it has encountered an error or is otherwise incapable of performing the request (e.g. the server is overloaded or a service is down)", | |
"message": "Internal server error (RFC 7231)" | |
}, | |
{ | |
"code": 501, | |
"name": "Not Implemented", | |
"enum": "NOT_IMPLEMENTED", | |
"reference": { | |
"info": "RFC 7231, Section 6.6.2", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.6.2" | |
}, | |
"description": "The request method is not supported by the server and cannot be handled", | |
"usage": "Use this status code when the server does not support the functionality required to fulfill the request (e.g. the server does not recognize the request method)", | |
"message": "Not implemented (RFC 7231)" | |
}, | |
{ | |
"code": 502, | |
"name": "Bad Gateway", | |
"enum": "BAD_GATEWAY", | |
"reference": { | |
"info": "RFC 7231, Section 6.6.3", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.6.3" | |
}, | |
"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", | |
"usage": "Use this status code when the server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request", | |
"message": "Bad gateway (RFC 7231)" | |
}, | |
{ | |
"code": 503, | |
"name": "Service Unavailable", | |
"enum": "SERVICE_UNAVAILABLE", | |
"reference": { | |
"info": "RFC 7231, Section 6.6.4", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.6.4" | |
}, | |
"description": "The server is not ready to handle the request; common causes are that the server is down for maintenance or that the server is overloaded", | |
"usage": "Use this status code when the server is down for maintenance or is otherwise unavailable ", | |
"message": "Service unavailable (RFC 7231)" | |
}, | |
{ | |
"code": 504, | |
"name": "Gateway Timeout", | |
"enum": "GATEWAY_TIMEOUT", | |
"reference": { | |
"info": "RFC 7231, Section 6.6.5", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.6.5" | |
}, | |
"description": "This error response is given when the server is acting as a gateway and cannot get a response in time", | |
"usage": "Use this status code when 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", | |
"message": "Gateway timeout (RFC 7231)" | |
}, | |
{ | |
"code": 505, | |
"name": "HTTP Version Not Supported", | |
"enum": "HTTP_VERSION_NOT_SUPPORTED", | |
"reference": { | |
"info": "RFC 7231, Section 6.6.6", | |
"url": "https://tools.ietf.org/html/rfc7231#section-6.6.6" | |
}, | |
"description": "The HTTP version used in the request is not supported by the server", | |
"usage": "Use this status code when the server does not support the functionality required to fulfill the request (e.g. the server does not recognize the HTTP protocol version used in the request)", | |
"message": "HTTP version not supported (RFC 7231)" | |
}, | |
{ | |
"code": 506, | |
"name": "Variant Also Negotiates", | |
"enum": "VARIANT_ALSO_NEGOTIATES", | |
"reference": { | |
"info": "RFC 2295, Section 8.1", | |
"url": "https://tools.ietf.org/html/rfc2295#section-8.1" | |
}, | |
"description": "The server has an internal configuration error: transparent content negotiation for the request results in a circular reference", | |
"usage": "Use this status code when the server has an internal configuration error that results in a circular reference in content negotiations (e.g. the server is configured to select a preferred variant for the request, but this attempt results in a circular reference)", | |
"message": "Variant also negotiates (RFC 2295)" | |
}, | |
{ | |
"code": 507, | |
"name": "Insufficient Storage", | |
"enum": "INSUFFICIENT_STORAGE", | |
"reference": { | |
"info": "RFC 4918, Section 11.5", | |
"url": "https://tools.ietf.org/html/rfc4918#section-11.5" | |
}, | |
"description": "The server has encountered a situation where it is unable to fulfill the request", | |
"usage": "Use this status code when the server is unable to store the representation needed to complete the request (e.g. insufficient free space left on the server)", | |
"message": "Insufficient storage (RFC 4918)" | |
}, | |
{ | |
"code": 508, | |
"name": "Loop Detected", | |
"enum": "LOOP_DETECTED", | |
"reference": { | |
"info": "RFC 5842, Section 7.2", | |
"url": "https://tools.ietf.org/html/rfc5842#section-7.2" | |
}, | |
"description": "The server detected an infinite loop while processing the request", | |
"usage": "Use this status code when the server detects an infinite loop while processing the request (e.g. a chain of requests is repeating indefinitely, or a request handler calls itself recursively)", | |
"message": "Loop detected (RFC 5842)" | |
}, | |
{ | |
"code": 510, | |
"name": "Not Extended", | |
"enum": "NOT_EXTENDED", | |
"reference": { | |
"info": "RFC 2774, Section 7", | |
"url": "https://tools.ietf.org/html/rfc2774#section-7" | |
}, | |
"description": "Further extensions to the request are required for the server to fulfill it", | |
"usage": "Use this status code when the server encounters an unrecognised extension to a request (e.g. a request for a time-limited resource might contain an unrecognized timeout extension)", | |
"message": "Not extended (RFC 2774)" | |
}, | |
{ | |
"code": 511, | |
"name": "Network Authentication Required", | |
"enum": "NETWORK_AUTHENTICATION_REQUIRED", | |
"reference": { | |
"info": "RFC 6585, Section 6", | |
"url": "https://tools.ietf.org/html/rfc6585#section-6" | |
}, | |
"description": "The 511 status code indicates that the client needs to authenticate to gain network access", | |
"usage": "Use this status code when the client needs to authenticate to gain network access (e.g. a captive portal or a firewall requires the user to log in or take some other action before access is granted)", | |
"message": "Network authentication required (RFC 6585)" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment