add node constants

This commit is contained in:
Gus Caplan 2017-08-16 09:11:51 -07:00
parent 5c0cdbcbf2
commit 82c60f6761
No known key found for this signature in database
GPG Key ID: 59A281524FF7C55F
63 changed files with 63 additions and 3 deletions

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.CONTINUE"
"Python3+ HTTP Status Constant": "http.client.CONTINUE"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.CONTINUE"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_CONTINUE"
---
The initial part of a request has been received and has not yet been rejected by the server. The server intends to send a final response after the request has been fully received and acted upon.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.SWITCHING_PROTOCOLS"
"Python3+ HTTP Status Constant": "http.client.SWITCHING_PROTOCOLS"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.SWITCHING_PROTOCOLS"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_SWITCHING_PROTOCOLS"
---
The server understands and is willing to comply with the client's request, via the Upgrade header field<sup>[1](#ref-1)</sup>, for a change in the application protocol being used on this connection.

View File

@ -5,6 +5,7 @@ title: Processing
references:
"Rails HTTP Status Symbol": ":processing"
"Symfony HTTP Status Constant": "Response::HTTP_PROCESSING"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_PROCESSING"
---
An interim response used to inform the client that the server has accepted the complete request, but has not yet completed it.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.OK"
"Python3+ HTTP Status Constant": "http.client.OK"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.OK"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_OK"
---
The request has succeeded.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.CREATED"
"Python3+ HTTP Status Constant": "http.client.CREATED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.CREATED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_CREATED"
---
The request has been fulfilled and has resulted in one or more new resources being created.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.ACCEPTED"
"Python3+ HTTP Status Constant": "http.client.ACCEPTED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.ACCEPTED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_ACCEPTED"
---
The request has been accepted for processing, but the processing has not been

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.NON_AUTHORITATIVE_INFORMATION"
"Python3+ HTTP Status Constant": "http.client.NON_AUTHORITATIVE_INFORMATION"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.NON_AUTHORITATIVE_INFORMATION"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION"
---
The request was successful but the enclosed payload has been modified from that of the origin server's [200 OK](/200) response by a transforming proxy<sup>[1](#ref-1)</sup>.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.NO_CONTENT"
"Python3+ HTTP Status Constant": "http.client.NO_CONTENT"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.NO_CONTENT"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_NO_CONTENT"
---
The server has successfully fulfilled the request and that there is no additional content to send in the response payload body.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.RESET_CONTENT"
"Python3+ HTTP Status Constant": "http.client.RESET_CONTENT"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.RESET_CONTENT"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_RESET_CONTENT"
---
The server has fulfilled the request and desires that the user agent reset the "document view", which caused the request to be sent, to its original state as received from the origin server.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.PARTIAL_CONTENT"
"Python3+ HTTP Status Constant": "http.client.PARTIAL_CONTENT"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.PARTIAL_CONTENT"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_PARTIAL_CONTENT"
---
The server is successfully fulfilling a range request for the target resource by transferring one or more parts of the selected representation that correspond to the satisfiable ranges found in the request's Range header field<sup>[1](#ref-1)</sup>.

View File

@ -5,6 +5,7 @@ title: Multi-Status
references:
"Rails HTTP Status Symbol": ":multi_status"
"Symfony HTTP Status Constant": "Response::HTTP_MULTI_STATUS"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_MULTI_STATUS"
---
A Multi-Status response conveys information about multiple resources in situations where multiple status codes might be appropriate.

View File

@ -4,6 +4,7 @@ code: 208
title: Already Reported
references:
"Symfony HTTP Status Constant": "Response::HTTP_ALREADY_REPORTED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_ALREADY_REPORTED"
---
Used inside a DAV: propstat response element to avoid enumerating the internal members of multiple bindings to the same collection repeatedly.

View File

@ -5,6 +5,7 @@ title: IM Used
references:
"Rails HTTP Status Symbol": ":im_used"
"Symfony HTTP Status Constant": "Response::HTTP_IM_USED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_IM_USED"
---
The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.MULTIPLE_CHOICES"
"Python3+ HTTP Status Constant": "http.client.MULTIPLE_CHOICES"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.MULTIPLE_CHOICES"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_MULTIPLE_CHOICES"
---
The target resource has more than one representation, each with its own more specific identifier, and information about the alternatives is being provided so that the user (or user agent) can select a preferred representation by redirecting its request to one or more of those identifiers.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.MOVED_PERMANENTLY"
"Python3+ HTTP Status Constant": "http.client.MOVED_PERMANENTLY"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.MOVED_PERMANENTLY"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_MOVED_PERMANENTLY"
---
The target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.FOUND"
"Python3+ HTTP Status Constant": "http.client.FOUND"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.FOUND"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_FOUND"
---
The target resource resides temporarily under a different URI. Since the redirection might be altered on occasion, the client ought to continue to use the effective request URI for future requests.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.SEE_OTHER"
"Python3+ HTTP Status Constant": "http.client.SEE_OTHER"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.SEE_OTHER"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_SEE_OTHER"
---
The server is redirecting the user agent to a different resource, as indicated by a URI in the Location header field, which is intended to provide an indirect response to the original request.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.NOT_MODIFIED"
"Python3+ HTTP Status Constant": "http.client.NOT_MODIFIED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.NOT_MODIFIED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_NOT_MODIFIED"
---
A conditional GET or HEAD request has been received and would have resulted in a [200 OK](/200) response if it were not for the fact that the condition evaluated to false.

View File

@ -9,6 +9,7 @@ title: Use Proxy
# "Python2 HTTP Status Constant": "httplib.USE_PROXY"
# "Python3+ HTTP Status Constant": "http.client.USE_PROXY"
# "Python3.5+ HTTP Status Constant": "http.HTTPStatus.USE_PROXY"
# "Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_USE_PROXY"
# - Due to deprecation we won't show this... but should we?
---

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.TEMPORARY_REDIRECT"
"Python3+ HTTP Status Constant": "http.client.TEMPORARY_REDIRECT"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.TEMPORARY_REDIRECT"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_TEMPORARY_REDIRECT"
---
The target resource resides temporarily under a different URI and the user agent MUST NOT change the request method if it performs an automatic redirection to that URI.

View File

@ -4,6 +4,7 @@ code: 308
title: Permanent Redirect
references:
"Symfony HTTP Status Constant": "Response::HTTP_PERMANENTLY_REDIRECT"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_PERMANENT_REDIRECT"
---
The target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.BAD_REQUEST"
"Python3+ HTTP Status Constant": "http.client.BAD_REQUEST"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.BAD_REQUEST"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_BAD_REQUEST"
---
The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.UNAUTHORIZED"
"Python3+ HTTP Status Constant": "http.client.UNAUTHORIZED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.UNAUTHORIZED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_UNAUTHORIZED"
---
The request has not been applied because it lacks valid authentication credentials for the target resource.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.PAYMENT_REQUIRED"
"Python3+ HTTP Status Constant": "http.client.PAYMENT_REQUIRED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.PAYMENT_REQUIRED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_PAYMENT_REQUIRED"
---
Reserved for future use.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.FORBIDDEN"
"Python3+ HTTP Status Constant": "http.client.FORBIDDEN"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.FORBIDDEN"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_FORBIDDEN"
---
The server understood the request but refuses to authorize it.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.NOT_FOUND"
"Python3+ HTTP Status Constant": "http.client.NOT_FOUND"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.NOT_FOUND"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_NOT_FOUND"
---
The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.METHOD_NOT_ALLOWED"
"Python3+ HTTP Status Constant": "http.client.METHOD_NOT_ALLOWED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.METHOD_NOT_ALLOWED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_METHOD_NOT_ALLOWED"
---
The method received in the request-line is known by the origin server but not supported by the target resource.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.NOT_ACCEPTABLE"
"Python3+ HTTP Status Constant": "http.client.NOT_ACCEPTABLE"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.NOT_ACCEPTABLE"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_NOT_ACCEPTABLE"
---
The target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request<sup>[1](#ref-1)</sup>, and the server is unwilling to supply a default representation.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.PROXY_AUTHENTICATION_REQUIRED"
"Python3+ HTTP Status Constant": "http.client.PROXY_AUTHENTICATION_REQUIRED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.PROXY_AUTHENTICATION_REQUIRED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED"
---
Similar to [401 Unauthorized](/401), but it indicates that the client needs to authenticate itself in order to use a proxy.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.REQUEST_TIMEOUT"
"Python3+ HTTP Status Constant": "http.client.REQUEST_TIMEOUT"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.REQUEST_TIMEOUT"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_REQUEST_TIMEOUT"
---
The server did not receive a complete request message within the time that it was prepared to wait.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.CONFLICT"
"Python3+ HTTP Status Constant": "http.client.CONFLICT"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.CONFLICT"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_CONFLICT"
---
The request could not be completed due to a conflict with the current state of the target resource. This code is used in situations where the user might be able to resolve the conflict and resubmit the request.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.GONE"
"Python3+ HTTP Status Constant": "http.client.GONE"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.GONE"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_GONE"
---
The target resource is no longer available at the origin server and that this condition is likely to be permanent.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.LENGTH_REQUIRED"
"Python3+ HTTP Status Constant": "http.client.LENGTH_REQUIRED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.LENGTH_REQUIRED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_LENGTH_REQUIRED"
---
The server refuses to accept the request without a defined Content-Length<sup>[1](#ref-1)</sup>.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.PRECONDITION_FAILED"
"Python3+ HTTP Status Constant": "http.client.PRECONDITION_FAILED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.PRECONDITION_FAILED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_PRECONDITION_FAILED"
---
One or more conditions given in the request header fields evaluated to false when tested on the server.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.REQUEST_ENTITY_TOO_LARGE"
"Python3+ HTTP Status Constant": "http.client.REQUEST_ENTITY_TOO_LARGE"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.REQUEST_ENTITY_TOO_LARGE"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_PAYLOAD_TOO_LARGE"
---
The server is refusing to process a request because the request payload is larger than the server is willing or able to process.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.REQUEST_URI_TOO_LONG"
"Python3+ HTTP Status Constant": "http.client.REQUEST_URI_TOO_LONG"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.REQUEST_URI_TOO_LONG"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_URI_TOO_LONG"
---
The server is refusing to service the request because the request-target<sup>[1](#ref-1)</sup> is longer than the server is willing to interpret.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.UNSUPPORTED_MEDIA_TYPE"
"Python3+ HTTP Status Constant": "http.client.UNSUPPORTED_MEDIA_TYPE"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.UNSUPPORTED_MEDIA_TYPE"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE"
---
The origin server is refusing to service the request because the payload is in a format not supported by this method on the target resource.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.REQUESTED_RANGE_NOT_SATISFIABLE"
"Python3+ HTTP Status Constant": "http.client.REQUESTED_RANGE_NOT_SATISFIABLE"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.REQUESTED_RANGE_NOT_SATISFIABLE"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_RANGE_NOT_SATISFIABLE"
---
None of the ranges in the request's Range header field<sup>[1](#ref-1)</sup> overlap the current extent of the selected resource or that the set of ranges requested has been rejected due to invalid ranges or an excessive request of small or overlapping ranges.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.EXPECTATION_FAILED"
"Python3+ HTTP Status Constant": "http.client.EXPECTATION_FAILED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.EXPECTATION_FAILED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_EXPECTATION_FAILED"
---
The expectation given in the request's Expect header field<sup>[1](#ref-1)</sup> could not be met by at least one of the inbound servers.

View File

@ -5,6 +5,7 @@ title: I'm a teapot
references:
"Go HTTP Status Constant": "http.StatusTeapot"
"Symfony HTTP Status Constant": "Response::HTTP_I_AM_A_TEAPOT"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_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.

View File

@ -4,6 +4,7 @@ code: 421
title: Misdirected Request
references:
"Rails HTTP Status Symbol": ":misdirected_request"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_MISDIRECTED_REQUEST"
---
The request was directed at a server that is not able to produce a response. This can be sent by a server that is not configured to produce responses for the combination of scheme and authority that are included in the request URI.

View File

@ -5,6 +5,7 @@ title: Unprocessable Entity
references:
"Rails HTTP Status Symbol": ":unprocessable_entity"
"Symfony HTTP Status Constant": "Response::HTTP_UNPROCESSABLE_ENTITY"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_UNPROCESSABLE_ENTITY"
---
The server understands the content type of the request entity (hence a [415 Unsupported Media Type](/415) status code is inappropriate), and the syntax of the request entity is correct (thus a [400 Bad Request](/400) status code is inappropriate) but was unable to process the contained instructions.

View File

@ -5,6 +5,7 @@ title: Locked
references:
"Rails HTTP Status Symbol": ":locked"
"Symfony HTTP Status Constant": "Response::HTTP_LOCKED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_LOCKED"
---
The source or destination resource of a method is locked.

View File

@ -6,6 +6,7 @@ references:
"Rails HTTP Status Symbol": "failed_dependency"
"Symfony HTTP Status Constant": "Response::HTTP_FAILED_DEPENDENCY"
"Python HTTP Status Constant": "httplib.FAILED_DEPENDENCY"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_FAILED_DEPENDENCY"
---
The method could not be performed on the resource because the requested action depended on another action and that action failed.

View File

@ -5,6 +5,7 @@ title: Upgrade Required
references:
"Rails HTTP Status Symbol": ":upgrade_required"
"Symfony HTTP Status Constant": "Response::HTTP_UPGRADE_REQUIRED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_UPGRADE_REQUIRED"
---
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.

View File

@ -4,6 +4,7 @@ code: 428
title: Precondition Required
references:
"Symfony HTTP Status Constant": "Response::HTTP_PRECONDITION_REQUIRED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_PRECONDITION_REQUIRED"
---
The origin server requires the request to be conditional.

View File

@ -4,6 +4,7 @@ code: 429
title: Too Many Requests
references:
"Symfony HTTP Status Constant": "Response::HTTP_TOO_MANY_REQUESTS"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_TOO_MANY_REQUESTS"
---
The user has sent too many requests in a given amount of time ("rate limiting").

View File

@ -4,6 +4,7 @@ code: 431
title: Request Header Fields Too Large
references:
"Symfony HTTP Status Constant": "Response::HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE"
---
The server is unwilling to process the request because its header fields are too large. The request MAY be resubmitted after reducing the size of the request header fields.

View File

@ -5,6 +5,7 @@ title: Unavailable For Legal Reasons
proposal: true
references:
"Symfony HTTP Status Constant": "Response::HTTP_UNAVAILABLE_FOR_LEGAL_REASONS"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS"
---
The server is denying access to the resource as a consequence of a legal demand.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.INTERNAL_SERVER_ERROR"
"Python3+ HTTP Status Constant": "http.client.INTERNAL_SERVER_ERROR"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.INTERNAL_SERVER_ERROR"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_INTERNAL_SERVER_ERROR"
---
The server encountered an unexpected condition that prevented it from fulfilling the request.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.NOT_IMPLEMENTED"
"Python3+ HTTP Status Constant": "http.client.NOT_IMPLEMENTED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.NOT_IMPLEMENTED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_NOT_IMPLEMENTED"
---
The server does not support the functionality required to fulfill the request.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.BAD_GATEWAY"
"Python3+ HTTP Status Constant": "http.client.BAD_GATEWAY"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.BAD_GATEWAY"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_BAD_GATEWAY"
---
The server, while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.SERVICE_UNAVAILABLE"
"Python3+ HTTP Status Constant": "http.client.SERVICE_UNAVAILABLE"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.SERVICE_UNAVAILABLE"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_SERVICE_UNAVAILABLE"
---
The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.GATEWAY_TIMEOUT"
"Python3+ HTTP Status Constant": "http.client.GATEWAY_TIMEOUT"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.GATEWAY_TIMEOUT"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_GATEWAY_TIMEOUT"
---
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.

View File

@ -9,6 +9,7 @@ references:
"Python2 HTTP Status Constant": "httplib.VERSION_NOT_SUPPORTED"
"Python3+ HTTP Status Constant": "http.client.VERSION_NOT_SUPPORTED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.VERSION_NOT_SUPPORTED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED"
---
The server does not support, or refuses to support, the major version of HTTP that was used in the request message.

View File

@ -4,6 +4,7 @@ code: 506
title: Variant Also Negotiates
references:
"Symfony HTTP Status Constant": "Response::HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_VARIANT_ALSO_NEGOTIATES"
---
The server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.

View File

@ -5,6 +5,7 @@ title: Insufficient Storage
references:
"Rails HTTP Status Symbol": ":insufficient_storage"
"Symfony HTTP Status Constant": "Response::HTTP_INSUFFICIENT_STORAGE"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_INSUFFICIENT_STORAGE"
---
The method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request.

View File

@ -4,6 +4,7 @@ code: 508
title: Loop Detected
references:
"Symfony HTTP Status Constant": "Response::HTTP_LOOP_DETECTED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_LOOP_DETECTED"
---
The server terminated an operation because it encountered an infinite loop while processing a request with "Depth: infinity". This status indicates that the entire operation failed.

View File

@ -5,6 +5,7 @@ title: Not Extended
references:
"Rails HTTP Status Symbol": ":not_extended"
"Symfony HTTP Status Constant": "Response::HTTP_NOT_EXTENDED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_NOT_EXTENDED"
---
The policy for accessing the resource has not been met in the request. The server should send back all the information necessary for the client to issue an extended request.

View File

@ -4,6 +4,7 @@ code: 511
title: Network Authentication Required
references:
"Symfony HTTP Status Constant": "Response::HTTP_NETWORK_AUTHENTICATION_REQUIRED"
"Node.js HTTP2 Status Constant": "http2.constants.HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED"
---
The client needs to authenticate to gain network access.

View File

@ -5,7 +5,7 @@ layout: page.jade
# 404 Page Not Found
This isn't a page to explain a status code, it's an actual 404. The page you have requested can't be found. If you didn't expect to see this error please [create an issue via GitHub](https://github.com/citricsquid/httpstatuses/issues).
This isn't a page to explain a status code, it's an actual 404. The page you have requested can't be found. If you didn't expect to see this error please [create an issue via GitHub](https://github.com/rmaake1/httpstatuses/issues).
If you want to learn more about what a 404 is, visit [/404](/404)!

View File

@ -5,7 +5,7 @@ layout: page.jade
# Internal Server Error
This isn't a page to explain a status code, it's an actual 500, an Internal Server Error. The page you have requested couldn't be delivered for an unknown reason. If you didn't expect to see this error please [create an issue via GitHub](https://github.com/citricsquid/httpstatuses/issues).
This isn't a page to explain a status code, it's an actual 500, an Internal Server Error. The page you have requested couldn't be delivered for an unknown reason. If you didn't expect to see this error please [create an issue via GitHub](https://github.com/rmaake1/httpstatuses/issues).
If you want to learn more about what a 500 is, visit [/500](/500)!

View File

@ -6,7 +6,7 @@ block banner
block share
a.twitter(href='https://twitter.com/intent/tweet?hashtags=httpstatuses&text=Helpful%20HTTP%20Status%20Code%20reference%20site&url=https%3A%2F%2Fhttpstatuses.com&via=citricsquid') &commat; Share on Twitter
a.github(href='https://github.com/citricsquid/httpstatuses') &bigstar; Star on GitHub
a.github(href='https://github.com/rmaake1/httpstatuses') &bigstar; Star on GitHub
a.pinboard(target='_blank', href='https://pinboard.in/add?showtags=yes&url=https%3A%2F%2Fhttpstatuses.com&description=HTTP%20Status%20Code%20Reference%20Site&title=httpstatuses.com&tags=reference,development') &oplus; Add to Pinboard
block contents