@opengg/status-es
Version:
A lightweight, tree-shakable utility for HTTP status codes and reason phrases in TypeScript/JavaScript. Auto-generated and ESM-compatible.
1,023 lines (1,022 loc) • 45 kB
TypeScript
/**
* code: 100
* message: Continue
* description: The server has received the request headers, and the client should proceed to send the request body.
*/
export declare const CONTINUE = "The server has received the request headers, and the client should proceed to send the request body.";
/**
* code: 101
* message: Switching Protocols
* description: The requester has asked the server to switch protocols.
*/
export declare const SWITCHING_PROTOCOLS = "The requester has asked the server to switch protocols.";
/**
* code: 102
* message: Processing
* description: This code indicates that the server has received and is processing the request, but no response is available yet. This prevents the client from timing out and assuming the request was lost.
*/
export declare const PROCESSING = "This code indicates that the server has received and is processing the request, but no response is available yet. This prevents the client from timing out and assuming the request was lost.";
/**
* code: 103
* message: Early Hints
* description: Used to return some response headers before final HTTP message.
*/
export declare const EARLY_HINTS = "Used to return some response headers before final HTTP message.";
/**
* code: 200
* message: OK
* description: The request is OK (this is the standard response for successful HTTP requests).
*/
export declare const OK = "The request is OK (this is the standard response for successful HTTP requests).";
/**
* code: 201
* message: Created
* description: The request has been fulfilled, and a new resource is created.
*/
export declare const CREATED = "The request has been fulfilled, and a new resource is created.";
/**
* code: 202
* message: Accepted
* description: The request has been accepted for processing, but the processing has not been completed.
*/
export declare const ACCEPTED = "The request has been accepted for processing, but the processing has not been completed.";
/**
* code: 203
* message: Non-Authoritative Information
* description: The request has been successfully processed, but is returning information that may be from another source.
*/
export declare const NON_AUTHORITATIVE_INFORMATION = "The request has been successfully processed, but is returning information that may be from another source.";
/**
* code: 204
* message: No Content
* description: The request has been successfully processed, but is not returning any content.
*/
export declare const NO_CONTENT = "The request has been successfully processed, but is not returning any content.";
/**
* code: 205
* message: Reset Content
* description: The request has been successfully processed, but is not returning any content, and requires that the requester reset the document view.
*/
export declare const RESET_CONTENT = "The request has been successfully processed, but is not returning any content, and requires that the requester reset the document view.";
/**
* code: 206
* message: Partial Content
* description: The server is delivering only part of the resource due to a range header sent by the client.
*/
export declare const PARTIAL_CONTENT = "The server is delivering only part of the resource due to a range header sent by the client.";
/**
* code: 207
* message: Multi-Status
* description: The message body that follows is by default an XML message and can contain a number of separate response codes, depending on how many sub-requests were made.
*/
export declare const MULTI_STATUS = "The message body that follows is by default an XML message and can contain a number of separate response codes, depending on how many sub-requests were made.";
/**
* code: 208
* message: Already Reported
* description: The members of a DAV binding have already been enumerated in a preceding part of the (multistatus) response, and are not being included again.
*/
export declare const ALREADY_REPORTED = "The members of a DAV binding have already been enumerated in a preceding part of the (multistatus) response, and are not being included again.";
/**
* code: 218
* message: This is fine (Apache Web Server)
* description: Used as a catch-all error condition for allowing response bodies to flow through Apache when ProxyErrorOverride is enabled.
*/
export declare const THIS_IS_FINE_APACHE_WEB_SERVER_ = "Used as a catch-all error condition for allowing response bodies to flow through Apache when ProxyErrorOverride is enabled.";
/**
* code: 226
* message: IM Used
* description: The server has fulfilled a request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance.
*/
export declare const IM_USED = "The server has fulfilled a request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance.";
/**
* code: 300
* message: Multiple Choices
* description: A link list. The user can select a link and go to that location. Maximum five addresses.
*/
export declare const MULTIPLE_CHOICES = "A link list. The user can select a link and go to that location. Maximum five addresses.";
/**
* code: 301
* message: Moved Permanently
* description: The requested page has moved to a new URL.
*/
export declare const MOVED_PERMANENTLY = "The requested page has moved to a new URL.";
/**
* code: 302
* message: Found
* description: The requested page has moved temporarily to a new URL.
*/
export declare const FOUND = "The requested page has moved temporarily to a new URL.";
/**
* code: 303
* message: See Other
* description: The requested page can be found under a different URL.
*/
export declare const SEE_OTHER = "The requested page can be found under a different URL.";
/**
* code: 304
* message: Not Modified
* description: Indicates the requested page has not been modified since last requested.
*/
export declare const NOT_MODIFIED = "Indicates the requested page has not been modified since last requested.";
/**
* code: 306
* message: Switch Proxy
* description: No longer used. Originally meant "Subsequent requests should use the specified proxy."
*/
export declare const SWITCH_PROXY = "No longer used. Originally meant \"Subsequent requests should use the specified proxy.\"";
/**
* code: 307
* message: Temporary Redirect
* description: The requested page has moved temporarily to a new URL.
*/
export declare const TEMPORARY_REDIRECT = "The requested page has moved temporarily to a new URL.";
/**
* code: 308
* message: Resume Incomplete
* description: Used in the resumable requests proposal to resume aborted PUT or POST requests.
*/
export declare const RESUME_INCOMPLETE = "Used in the resumable requests proposal to resume aborted PUT or POST requests.";
/**
* code: 400
* message: Bad Request
* description: The request cannot be fulfilled due to bad syntax.
*/
export declare const BAD_REQUEST = "The request cannot be fulfilled due to bad syntax.";
/**
* code: 401
* message: Unauthorized
* description: The request was a legal request, but the server is refusing to respond to it. For use when authentication is possible but has failed or not yet been provided.
*/
export declare const UNAUTHORIZED = "The request was a legal request, but the server is refusing to respond to it. For use when authentication is possible but has failed or not yet been provided.";
/**
* code: 402
* message: Payment Required
* description: Not yet implemented by RFC standards, but reserved for future use.
*/
export declare const PAYMENT_REQUIRED = "Not yet implemented by RFC standards, but reserved for future use.";
/**
* code: 403
* message: Forbidden
* description: The request was a legal request, but the server is refusing to respond to it.
*/
export declare const FORBIDDEN = "The request was a legal request, but the server is refusing to respond to it.";
/**
* code: 404
* message: Not Found
* description: The requested page could not be found but may be available again in the future.
*/
export declare const NOT_FOUND = "The requested page could not be found but may be available again in the future.";
/**
* code: 405
* message: Method Not Allowed
* description: A request was made of a page using a request method not supported by that page.
*/
export declare const METHOD_NOT_ALLOWED = "A request was made of a page using a request method not supported by that page.";
/**
* code: 406
* message: Not Acceptable
* description: The server can only generate a response that is not accepted by the client.
*/
export declare const NOT_ACCEPTABLE = "The server can only generate a response that is not accepted by the client.";
/**
* code: 407
* message: Proxy Authentication Required
* description: The client must first authenticate itself with the proxy.
*/
export declare const PROXY_AUTHENTICATION_REQUIRED = "The client must first authenticate itself with the proxy.";
/**
* code: 408
* message: Request Timeout
* description: The server timed out waiting for the request.
*/
export declare const REQUEST_TIMEOUT = "The server timed out waiting for the request.";
/**
* code: 409
* message: Conflict
* description: The request could not be completed because of a conflict in the request.
*/
export declare const CONFLICT = "The request could not be completed because of a conflict in the request.";
/**
* code: 410
* message: Gone
* description: The requested page is no longer available.
*/
export declare const GONE = "The requested page is no longer available.";
/**
* code: 411
* message: Length Required
* description: The "Content-Length" is not defined. The server will not accept the request without it.
*/
export declare const LENGTH_REQUIRED = "The \"Content-Length\" is not defined. The server will not accept the request without it.";
/**
* code: 412
* message: Precondition Failed
* description: The precondition given in the request evaluated to false by the server.
*/
export declare const PRECONDITION_FAILED = "The precondition given in the request evaluated to false by the server.";
/**
* code: 413
* message: Request Entity Too Large
* description: The server will not accept the request, because the request entity is too large.
*/
export declare const REQUEST_ENTITY_TOO_LARGE = "The server will not accept the request, because the request entity is too large.";
/**
* code: 414
* message: Request-URI Too Long
* description: The server will not accept the request, because the URL is too long. Occurs when you convert a POST request to a GET request with a long query information.
*/
export declare const REQUEST_URI_TOO_LONG = "The server will not accept the request, because the URL is too long. Occurs when you convert a POST request to a GET request with a long query information.";
/**
* code: 415
* message: Unsupported Media Type
* description: The server will not accept the request, because the media type is not supported.
*/
export declare const UNSUPPORTED_MEDIA_TYPE = "The server will not accept the request, because the media type is not supported.";
/**
* code: 416
* message: Requested Range Not Satisfiable
* description: The client has asked for a portion of the file, but the server cannot supply that portion.
*/
export declare const REQUESTED_RANGE_NOT_SATISFIABLE = "The client has asked for a portion of the file, but the server cannot supply that portion.";
/**
* code: 417
* message: Expectation Failed
* description: The server cannot meet the requirements of the Expect request-header field.
*/
export declare const EXPECTATION_FAILED = "The server cannot meet the requirements of the Expect request-header field.";
/**
* code: 418
* message: I'm a teapot
* description: Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The resulting entity body MAY be short and stout.
*/
export declare const I_M_A_TEAPOT = "Any attempt to brew coffee with a teapot should result in the error code \"418 I'm a teapot\". The resulting entity body MAY be short and stout.";
/**
* code: 419
* message: Page Expired (Laravel Framework)
* description: Used by the Laravel Framework when a CSRF Token is missing or expired.
*/
export declare const PAGE_EXPIRED_LARAVEL_FRAMEWORK_ = "Used by the Laravel Framework when a CSRF Token is missing or expired.";
/**
* code: 420
* message: Method Failure (Spring Framework)
* description: A deprecated response used by the Spring Framework when a method has failed.
*/
export declare const METHOD_FAILURE_SPRING_FRAMEWORK_ = "A deprecated response used by the Spring Framework when a method has failed.";
/**
* code: 421
* message: Misdirected Request
* description: The request was directed at a server that is not able to produce a response (for example because a connection reuse).
*/
export declare const MISDIRECTED_REQUEST = "The request was directed at a server that is not able to produce a response (for example because a connection reuse).";
/**
* code: 422
* message: Unprocessable Entity
* description: The request was well-formed but was unable to be followed due to semantic errors.
*/
export declare const UNPROCESSABLE_ENTITY = "The request was well-formed but was unable to be followed due to semantic errors.";
/**
* code: 423
* message: Locked
* description: The resource that is being accessed is locked.
*/
export declare const LOCKED = "The resource that is being accessed is locked.";
/**
* code: 424
* message: Failed Dependency
* description: The request failed due to failure of a previous request (e.g., a PROPPATCH).
*/
export declare const FAILED_DEPENDENCY = "The request failed due to failure of a previous request (e.g., a PROPPATCH).";
/**
* code: 426
* message: Upgrade Required
* description: The client should switch to a different protocol such as TLS/1.0, given in the Upgrade header field.
*/
export declare const UPGRADE_REQUIRED = "The client should switch to a different protocol such as TLS/1.0, given in the Upgrade header field.";
/**
* code: 428
* message: Precondition Required
* description: The origin server requires the request to be conditional.
*/
export declare const PRECONDITION_REQUIRED = "The origin server requires the request to be conditional.";
/**
* code: 429
* message: Too Many Requests
* description: The user has sent too many requests in a given amount of time. Intended for use with rate limiting schemes.
*/
export declare const TOO_MANY_REQUESTS = "The user has sent too many requests in a given amount of time. Intended for use with rate limiting schemes.";
/**
* code: 431
* message: Request Header Fields Too Large
* description: The server is unwilling to process the request because either an individual header field, or all the header fields collectively, are too large.
*/
export declare const REQUEST_HEADER_FIELDS_TOO_LARGE = "The server is unwilling to process the request because either an individual header field, or all the header fields collectively, are too large.";
/**
* code: 440
* message: Login Time-out
* description: The client's session has expired and must log in again. (IIS)
*/
export declare const LOGIN_TIME_OUT = "The client's session has expired and must log in again. (IIS)";
/**
* code: 444
* message: Connection Closed Without Response
* description: A non-standard status code used to instruct nginx to close the connection without sending a response to the client, most commonly used to deny malicious or malformed requests.
*/
export declare const CONNECTION_CLOSED_WITHOUT_RESPONSE = "A non-standard status code used to instruct nginx to close the connection without sending a response to the client, most commonly used to deny malicious or malformed requests.";
/**
* code: 449
* message: Retry With
* description: The server cannot honour the request because the user has not provided the required information. (IIS)
*/
export declare const RETRY_WITH = "The server cannot honour the request because the user has not provided the required information. (IIS)";
/**
* code: 450
* message: Blocked by Windows Parental Controls
* description: The Microsoft extension code indicated when Windows Parental Controls are turned on and are blocking access to the requested webpage.
*/
export declare const BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS = "The Microsoft extension code indicated when Windows Parental Controls are turned on and are blocking access to the requested webpage.";
/**
* code: 451
* message: Unavailable For Legal Reasons
* description: A server operator has received a legal demand to deny access to a resource or to a set of resources that includes the requested resource.
*/
export declare const UNAVAILABLE_FOR_LEGAL_REASONS = "A server operator has received a legal demand to deny access to a resource or to a set of resources that includes the requested resource.";
/**
* code: 494
* message: Request Header Too Large
* description: Used by nginx to indicate the client sent too large of a request or header line that is too long.
*/
export declare const REQUEST_HEADER_TOO_LARGE = "Used by nginx to indicate the client sent too large of a request or header line that is too long.";
/**
* code: 495
* message: SSL Certificate Error
* description: An expansion of the 400 Bad Request response code, used when the client has provided an invalid client certificate.
*/
export declare const SSL_CERTIFICATE_ERROR = "An expansion of the 400 Bad Request response code, used when the client has provided an invalid client certificate.";
/**
* code: 496
* message: SSL Certificate Required
* description: An expansion of the 400 Bad Request response code, used when a client certificate is required but not provided.
*/
export declare const SSL_CERTIFICATE_REQUIRED = "An expansion of the 400 Bad Request response code, used when a client certificate is required but not provided.";
/**
* code: 497
* message: HTTP Request Sent to HTTPS Port
* description: An expansion of the 400 Bad Request response code, used when the client has made a HTTP request to a port listening for HTTPS requests.
*/
export declare const HTTP_REQUEST_SENT_TO_HTTPS_PORT = "An expansion of the 400 Bad Request response code, used when the client has made a HTTP request to a port listening for HTTPS requests.";
/**
* code: 498
* message: Invalid Token (Esri)
* description: Returned by ArcGIS for Server. Code 498 indicates an expired or otherwise invalid token.
*/
export declare const INVALID_TOKEN_ESRI_ = "Returned by ArcGIS for Server. Code 498 indicates an expired or otherwise invalid token.";
/**
* code: 499
* message: Client Closed Request
* description: A non-standard status code introduced by nginx for the case when a client closes the connection while nginx is processing the request.
*/
export declare const CLIENT_CLOSED_REQUEST = "A non-standard status code introduced by nginx for the case when a client closes the connection while nginx is processing the request.";
/**
* code: 500
* message: Internal Server Error
* description: An error has occurred in a server side script, a no more specific message is suitable.
*/
export declare const INTERNAL_SERVER_ERROR = "An error has occurred in a server side script, a no more specific message is suitable.";
/**
* code: 501
* message: Not Implemented
* description: The server either does not recognize the request method, or it lacks the ability to fulfill the request.
*/
export declare const NOT_IMPLEMENTED = "The server either does not recognize the request method, or it lacks the ability to fulfill the request.";
/**
* code: 502
* message: Bad Gateway
* description: The server was acting as a gateway or proxy and received an invalid response from the upstream server.
*/
export declare const BAD_GATEWAY = "The server was acting as a gateway or proxy and received an invalid response from the upstream server.";
/**
* code: 503
* message: Service Unavailable
* description: The server is currently unavailable (overloaded or down).
*/
export declare const SERVICE_UNAVAILABLE = "The server is currently unavailable (overloaded or down).";
/**
* code: 504
* message: Gateway Timeout
* description: The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
*/
export declare const GATEWAY_TIMEOUT = "The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.";
/**
* code: 505
* message: HTTP Version Not Supported
* description: The server does not support the HTTP protocol version used in the request.
*/
export declare const HTTP_VERSION_NOT_SUPPORTED = "The server does not support the HTTP protocol version used in the request.";
/**
* code: 506
* message: Variant Also Negotiates
* description: Transparent content negotiation for the request results in a circular reference.
*/
export declare const VARIANT_ALSO_NEGOTIATES = "Transparent content negotiation for the request results in a circular reference.";
/**
* code: 507
* message: Insufficient Storage
* description: The server is unable to store the representation needed to complete the request.
*/
export declare const INSUFFICIENT_STORAGE = "The server is unable to store the representation needed to complete the request.";
/**
* code: 508
* message: Loop Detected
* description: The server detected an infinite loop while processing the request (sent instead of 208 Already Reported).
*/
export declare const LOOP_DETECTED = "The server detected an infinite loop while processing the request (sent instead of 208 Already Reported).";
/**
* code: 509
* message: Bandwidth Limit Exceeded
* description: The server has exceeded the bandwidth specified by the server administrator; this is often used by shared hosting providers to limit the bandwidth of customers.
*/
export declare const BANDWIDTH_LIMIT_EXCEEDED = "The server has exceeded the bandwidth specified by the server administrator; this is often used by shared hosting providers to limit the bandwidth of customers.";
/**
* code: 510
* message: Not Extended
* description: Further extensions to the request are required for the server to fulfil it.
*/
export declare const NOT_EXTENDED = "Further extensions to the request are required for the server to fulfil it.";
/**
* code: 511
* message: Network Authentication Required
* description: The client needs to authenticate to gain network access.
*/
export declare const NETWORK_AUTHENTICATION_REQUIRED = "The client needs to authenticate to gain network access.";
/**
* code: 520
* message: Unknown Error
* description: The 520 error is used as a "catch-all response for when the origin server returns something unexpected", listing connection resets, large headers, and empty or invalid responses as common triggers.
*/
export declare const UNKNOWN_ERROR = "The 520 error is used as a \"catch-all response for when the origin server returns something unexpected\", listing connection resets, large headers, and empty or invalid responses as common triggers.";
/**
* code: 521
* message: Web Server Is Down
* description: The origin server has refused the connection from Cloudflare.
*/
export declare const WEB_SERVER_IS_DOWN = "The origin server has refused the connection from Cloudflare.";
/**
* code: 522
* message: Connection Timed Out
* description: Cloudflare could not negotiate a TCP handshake with the origin server.
*/
export declare const CONNECTION_TIMED_OUT = "Cloudflare could not negotiate a TCP handshake with the origin server.";
/**
* code: 523
* message: Origin Is Unreachable
* description: Cloudflare could not reach the origin server; for example, if the DNS records for the origin server are incorrect.
*/
export declare const ORIGIN_IS_UNREACHABLE = "Cloudflare could not reach the origin server; for example, if the DNS records for the origin server are incorrect.";
/**
* code: 524
* message: A Timeout Occurred
* description: Cloudflare was able to complete a TCP connection to the origin server, but did not receive a timely HTTP response.
*/
export declare const A_TIMEOUT_OCCURRED = "Cloudflare was able to complete a TCP connection to the origin server, but did not receive a timely HTTP response.";
/**
* code: 525
* message: SSL Handshake Failed
* description: Cloudflare could not negotiate a SSL/TLS handshake with the origin server.
*/
export declare const SSL_HANDSHAKE_FAILED = "Cloudflare could not negotiate a SSL/TLS handshake with the origin server.";
/**
* code: 526
* message: Invalid SSL Certificate
* description: Used by Cloudflare and Cloud Foundry's gorouter to indicate failure to validate the SSL/TLS certificate that the origin server presented.
*/
export declare const INVALID_SSL_CERTIFICATE = "Used by Cloudflare and Cloud Foundry's gorouter to indicate failure to validate the SSL/TLS certificate that the origin server presented.";
/**
* code: 527
* message: Railgun Listener to Origin Error
* description: Error 527 indicates that the request timed out or failed after the WAN connection had been established.
*/
export declare const RAILGUN_LISTENER_TO_ORIGIN_ERROR = "Error 527 indicates that the request timed out or failed after the WAN connection had been established.";
/**
* code: 530
* message: Origin DNS Error
* description: Error 530 indicates that the requested host name could not be resolved on the Cloudflare network to an origin server.
*/
export declare const ORIGIN_DNS_ERROR = "Error 530 indicates that the requested host name could not be resolved on the Cloudflare network to an origin server.";
/**
* code: 598
* message: Network Read Timeout Error
* description: Used by some HTTP proxies to signal a network read timeout behind the proxy to a client in front of the proxy.
*/
export declare const NETWORK_READ_TIMEOUT_ERROR = "Used by some HTTP proxies to signal a network read timeout behind the proxy to a client in front of the proxy.";
export declare const ReasonPhrases: {
/**
* code: 100
* message: Continue
* description: The server has received the request headers, and the client should proceed to send the request body.
*/
readonly 100: "Continue";
/**
* code: 101
* message: Switching Protocols
* description: The requester has asked the server to switch protocols.
*/
readonly 101: "Switching Protocols";
/**
* code: 102
* message: Processing
* description: This code indicates that the server has received and is processing the request, but no response is available yet. This prevents the client from timing out and assuming the request was lost.
*/
readonly 102: "Processing";
/**
* code: 103
* message: Early Hints
* description: Used to return some response headers before final HTTP message.
*/
readonly 103: "Early Hints";
/**
* code: 200
* message: OK
* description: The request is OK (this is the standard response for successful HTTP requests).
*/
readonly 200: "OK";
/**
* code: 201
* message: Created
* description: The request has been fulfilled, and a new resource is created.
*/
readonly 201: "Created";
/**
* code: 202
* message: Accepted
* description: The request has been accepted for processing, but the processing has not been completed.
*/
readonly 202: "Accepted";
/**
* code: 203
* message: Non-Authoritative Information
* description: The request has been successfully processed, but is returning information that may be from another source.
*/
readonly 203: "Non-Authoritative Information";
/**
* code: 204
* message: No Content
* description: The request has been successfully processed, but is not returning any content.
*/
readonly 204: "No Content";
/**
* code: 205
* message: Reset Content
* description: The request has been successfully processed, but is not returning any content, and requires that the requester reset the document view.
*/
readonly 205: "Reset Content";
/**
* code: 206
* message: Partial Content
* description: The server is delivering only part of the resource due to a range header sent by the client.
*/
readonly 206: "Partial Content";
/**
* code: 207
* message: Multi-Status
* description: The message body that follows is by default an XML message and can contain a number of separate response codes, depending on how many sub-requests were made.
*/
readonly 207: "Multi-Status";
/**
* code: 208
* message: Already Reported
* description: The members of a DAV binding have already been enumerated in a preceding part of the (multistatus) response, and are not being included again.
*/
readonly 208: "Already Reported";
/**
* code: 218
* message: This is fine (Apache Web Server)
* description: Used as a catch-all error condition for allowing response bodies to flow through Apache when ProxyErrorOverride is enabled.
*/
readonly 218: "This is fine (Apache Web Server)";
/**
* code: 226
* message: IM Used
* description: The server has fulfilled a request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance.
*/
readonly 226: "IM Used";
/**
* code: 300
* message: Multiple Choices
* description: A link list. The user can select a link and go to that location. Maximum five addresses.
*/
readonly 300: "Multiple Choices";
/**
* code: 301
* message: Moved Permanently
* description: The requested page has moved to a new URL.
*/
readonly 301: "Moved Permanently";
/**
* code: 302
* message: Found
* description: The requested page has moved temporarily to a new URL.
*/
readonly 302: "Found";
/**
* code: 303
* message: See Other
* description: The requested page can be found under a different URL.
*/
readonly 303: "See Other";
/**
* code: 304
* message: Not Modified
* description: Indicates the requested page has not been modified since last requested.
*/
readonly 304: "Not Modified";
/**
* code: 306
* message: Switch Proxy
* description: No longer used. Originally meant "Subsequent requests should use the specified proxy."
*/
readonly 306: "Switch Proxy";
/**
* code: 307
* message: Temporary Redirect
* description: The requested page has moved temporarily to a new URL.
*/
readonly 307: "Temporary Redirect";
/**
* code: 308
* message: Resume Incomplete
* description: Used in the resumable requests proposal to resume aborted PUT or POST requests.
*/
readonly 308: "Resume Incomplete";
/**
* code: 400
* message: Bad Request
* description: The request cannot be fulfilled due to bad syntax.
*/
readonly 400: "Bad Request";
/**
* code: 401
* message: Unauthorized
* description: The request was a legal request, but the server is refusing to respond to it. For use when authentication is possible but has failed or not yet been provided.
*/
readonly 401: "Unauthorized";
/**
* code: 402
* message: Payment Required
* description: Not yet implemented by RFC standards, but reserved for future use.
*/
readonly 402: "Payment Required";
/**
* code: 403
* message: Forbidden
* description: The request was a legal request, but the server is refusing to respond to it.
*/
readonly 403: "Forbidden";
/**
* code: 404
* message: Not Found
* description: The requested page could not be found but may be available again in the future.
*/
readonly 404: "Not Found";
/**
* code: 405
* message: Method Not Allowed
* description: A request was made of a page using a request method not supported by that page.
*/
readonly 405: "Method Not Allowed";
/**
* code: 406
* message: Not Acceptable
* description: The server can only generate a response that is not accepted by the client.
*/
readonly 406: "Not Acceptable";
/**
* code: 407
* message: Proxy Authentication Required
* description: The client must first authenticate itself with the proxy.
*/
readonly 407: "Proxy Authentication Required";
/**
* code: 408
* message: Request Timeout
* description: The server timed out waiting for the request.
*/
readonly 408: "Request Timeout";
/**
* code: 409
* message: Conflict
* description: The request could not be completed because of a conflict in the request.
*/
readonly 409: "Conflict";
/**
* code: 410
* message: Gone
* description: The requested page is no longer available.
*/
readonly 410: "Gone";
/**
* code: 411
* message: Length Required
* description: The "Content-Length" is not defined. The server will not accept the request without it.
*/
readonly 411: "Length Required";
/**
* code: 412
* message: Precondition Failed
* description: The precondition given in the request evaluated to false by the server.
*/
readonly 412: "Precondition Failed";
/**
* code: 413
* message: Request Entity Too Large
* description: The server will not accept the request, because the request entity is too large.
*/
readonly 413: "Request Entity Too Large";
/**
* code: 414
* message: Request-URI Too Long
* description: The server will not accept the request, because the URL is too long. Occurs when you convert a POST request to a GET request with a long query information.
*/
readonly 414: "Request-URI Too Long";
/**
* code: 415
* message: Unsupported Media Type
* description: The server will not accept the request, because the media type is not supported.
*/
readonly 415: "Unsupported Media Type";
/**
* code: 416
* message: Requested Range Not Satisfiable
* description: The client has asked for a portion of the file, but the server cannot supply that portion.
*/
readonly 416: "Requested Range Not Satisfiable";
/**
* code: 417
* message: Expectation Failed
* description: The server cannot meet the requirements of the Expect request-header field.
*/
readonly 417: "Expectation Failed";
/**
* code: 418
* message: I'm a teapot
* description: Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The resulting entity body MAY be short and stout.
*/
readonly 418: "I'm a teapot";
/**
* code: 419
* message: Page Expired (Laravel Framework)
* description: Used by the Laravel Framework when a CSRF Token is missing or expired.
*/
readonly 419: "Page Expired (Laravel Framework)";
/**
* code: 420
* message: Method Failure (Spring Framework)
* description: A deprecated response used by the Spring Framework when a method has failed.
*/
readonly 420: "Method Failure (Spring Framework)";
/**
* code: 421
* message: Misdirected Request
* description: The request was directed at a server that is not able to produce a response (for example because a connection reuse).
*/
readonly 421: "Misdirected Request";
/**
* code: 422
* message: Unprocessable Entity
* description: The request was well-formed but was unable to be followed due to semantic errors.
*/
readonly 422: "Unprocessable Entity";
/**
* code: 423
* message: Locked
* description: The resource that is being accessed is locked.
*/
readonly 423: "Locked";
/**
* code: 424
* message: Failed Dependency
* description: The request failed due to failure of a previous request (e.g., a PROPPATCH).
*/
readonly 424: "Failed Dependency";
/**
* code: 426
* message: Upgrade Required
* description: The client should switch to a different protocol such as TLS/1.0, given in the Upgrade header field.
*/
readonly 426: "Upgrade Required";
/**
* code: 428
* message: Precondition Required
* description: The origin server requires the request to be conditional.
*/
readonly 428: "Precondition Required";
/**
* code: 429
* message: Too Many Requests
* description: The user has sent too many requests in a given amount of time. Intended for use with rate limiting schemes.
*/
readonly 429: "Too Many Requests";
/**
* code: 431
* message: Request Header Fields Too Large
* description: The server is unwilling to process the request because either an individual header field, or all the header fields collectively, are too large.
*/
readonly 431: "Request Header Fields Too Large";
/**
* code: 440
* message: Login Time-out
* description: The client's session has expired and must log in again. (IIS)
*/
readonly 440: "Login Time-out";
/**
* code: 444
* message: Connection Closed Without Response
* description: A non-standard status code used to instruct nginx to close the connection without sending a response to the client, most commonly used to deny malicious or malformed requests.
*/
readonly 444: "Connection Closed Without Response";
/**
* code: 449
* message: Retry With
* description: The server cannot honour the request because the user has not provided the required information. (IIS)
*/
readonly 449: "Retry With";
/**
* code: 450
* message: Blocked by Windows Parental Controls
* description: The Microsoft extension code indicated when Windows Parental Controls are turned on and are blocking access to the requested webpage.
*/
readonly 450: "Blocked by Windows Parental Controls";
/**
* code: 451
* message: Unavailable For Legal Reasons
* description: A server operator has received a legal demand to deny access to a resource or to a set of resources that includes the requested resource.
*/
readonly 451: "Unavailable For Legal Reasons";
/**
* code: 494
* message: Request Header Too Large
* description: Used by nginx to indicate the client sent too large of a request or header line that is too long.
*/
readonly 494: "Request Header Too Large";
/**
* code: 495
* message: SSL Certificate Error
* description: An expansion of the 400 Bad Request response code, used when the client has provided an invalid client certificate.
*/
readonly 495: "SSL Certificate Error";
/**
* code: 496
* message: SSL Certificate Required
* description: An expansion of the 400 Bad Request response code, used when a client certificate is required but not provided.
*/
readonly 496: "SSL Certificate Required";
/**
* code: 497
* message: HTTP Request Sent to HTTPS Port
* description: An expansion of the 400 Bad Request response code, used when the client has made a HTTP request to a port listening for HTTPS requests.
*/
readonly 497: "HTTP Request Sent to HTTPS Port";
/**
* code: 498
* message: Invalid Token (Esri)
* description: Returned by ArcGIS for Server. Code 498 indicates an expired or otherwise invalid token.
*/
readonly 498: "Invalid Token (Esri)";
/**
* code: 499
* message: Client Closed Request
* description: A non-standard status code introduced by nginx for the case when a client closes the connection while nginx is processing the request.
*/
readonly 499: "Client Closed Request";
/**
* code: 500
* message: Internal Server Error
* description: An error has occurred in a server side script, a no more specific message is suitable.
*/
readonly 500: "Internal Server Error";
/**
* code: 501
* message: Not Implemented
* description: The server either does not recognize the request method, or it lacks the ability to fulfill the request.
*/
readonly 501: "Not Implemented";
/**
* code: 502
* message: Bad Gateway
* description: The server was acting as a gateway or proxy and received an invalid response from the upstream server.
*/
readonly 502: "Bad Gateway";
/**
* code: 503
* message: Service Unavailable
* description: The server is currently unavailable (overloaded or down).
*/
readonly 503: "Service Unavailable";
/**
* code: 504
* message: Gateway Timeout
* description: The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
*/
readonly 504: "Gateway Timeout";
/**
* code: 505
* message: HTTP Version Not Supported
* description: The server does not support the HTTP protocol version used in the request.
*/
readonly 505: "HTTP Version Not Supported";
/**
* code: 506
* message: Variant Also Negotiates
* description: Transparent content negotiation for the request results in a circular reference.
*/
readonly 506: "Variant Also Negotiates";
/**
* code: 507
* message: Insufficient Storage
* description: The server is unable to store the representation needed to complete the request.
*/
readonly 507: "Insufficient Storage";
/**
* code: 508
* message: Loop Detected
* description: The server detected an infinite loop while processing the request (sent instead of 208 Already Reported).
*/
readonly 508: "Loop Detected";
/**
* code: 509
* message: Bandwidth Limit Exceeded
* description: The server has exceeded the bandwidth specified by the server administrator; this is often used by shared hosting providers to limit the bandwidth of customers.
*/
readonly 509: "Bandwidth Limit Exceeded";
/**
* code: 510
* message: Not Extended
* description: Further extensions to the request are required for the server to fulfil it.
*/
readonly 510: "Not Extended";
/**
* code: 511
* message: Network Authentication Required
* description: The client needs to authenticate to gain network access.
*/
readonly 511: "Network Authentication Required";
/**
* code: 520
* message: Unknown Error
* description: The 520 error is used as a "catch-all response for when the origin server returns something unexpected", listing connection resets, large headers, and empty or invalid responses as common triggers.
*/
readonly 520: "Unknown Error";
/**
* code: 521
* message: Web Server Is Down
* description: The origin server has refused the connection from Cloudflare.
*/
readonly 521: "Web Server Is Down";
/**
* code: 522
* message: Connection Timed Out
* description: Cloudflare could not negotiate a TCP handshake with the origin server.
*/
readonly 522: "Connection Timed Out";
/**
* code: 523
* message: Origin Is Unreachable
* description: Cloudflare could not reach the origin server; for example, if the DNS records for the origin server are incorrect.
*/
readonly 523: "Origin Is Unreachable";
/**
* code: 524
* message: A Timeout Occurred
* description: Cloudflare was able to complete a TCP connection to the origin server, but did not receive a timely HTTP response.
*/
readonly 524: "A Timeout Occurred";
/**
* code: 525
* message: SSL Handshake Failed
* description: Cloudflare could not negotiate a SSL/TLS handshake with the origin server.
*/
readonly 525: "SSL Handshake Failed";
/**
* code: 526
* message: Invalid SSL Certificate
* description: Used by Cloudflare and Cloud Foundry's gorouter to indicate failure to validate the SSL/TLS certificate that the origin server presented.
*/
readonly 526: "Invalid SSL Certificate";
/**
* code: 527
* message: Railgun Listener to Origin Error
* description: Error 527 indicates that the request timed out or failed after the WAN connection had been established.
*/
readonly 527: "Railgun Listener to Origin Error";
/**
* code: 530
* message: Origin DNS Error
* description: Error 530 indicates that the requested host name could not be resolved on the Cloudflare network to an origin server.
*/
readonly 530: "Origin DNS Error";
/**
* code: 598
* message: Network Read Timeout Error
* description: Used by some HTTP proxies to signal a network read timeout behind the proxy to a client in front of the proxy.
*/
readonly 598: "Network Read Timeout Error";
};