Fixed collapse toggler in httpstatuscodes #7

This commit is contained in:
toddf
2014-05-29 12:36:12 -06:00
parent 4cdbd9ff80
commit 7d2f2ddd43

View File

@ -13,6 +13,9 @@
padding-top: 60px;
padding-bottom: 40px;
}
a {
cursor: pointer;
}
</style>
<link href="https://d7im4lln3lvbg.cloudfront.net/bootstrap/2.0.1/css/bootstrap-responsive.min.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
@ -43,7 +46,7 @@
</div>
<div class="row">
<div class="span12">
<h2><a data-toggle="collapse" data-target="#1xx" href="#">1xx Informational</a></h2>
<h2><a data-toggle="collapse" data-target="#1xx">1xx Informational</a></h2>
<div id="1xx" class="collapse">
<p>This class of status code indicates a provisional response, consisting only of the Status-Line and optional headers, and is terminated by an empty line. There are no required headers for this class of status code. Since HTTP/1.0 did not define any 1xx status codes, servers MUST NOT send a 1xx response to an HTTP/1.0 client except under experimental conditions.</p>
<p>A client MUST be prepared to accept one or more 1xx status responses prior to a regular response, even if the client does not expect a 100 (Continue) status message. Unexpected 1xx status responses MAY be ignored by a user agent.</p>
@ -56,7 +59,7 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#continue" href="#">100 Continue</a>
<a data-toggle="collapse" data-target="#continue">100 Continue</a>
<div id="continue" class="collapse">
<p>The client SHOULD continue with its request. This interim response is used to inform the client that the initial part of the request has been received and has not yet been rejected by the server. The client SHOULD continue by sending the remainder of the request or, if the request has already been completed, ignore this response. The server MUST send a final response after the request has been completed. See section 8.2.3 for detailed discussion of the use and handling of this status code.</p>
<h3>Wikipedia</h3>
@ -84,7 +87,7 @@
</div>
<div class="row">
<div class="span12">
<h2><a data-toggle="collapse" data-target="#2xx" href="#">2xx Success</a></h2>
<h2><a data-toggle="collapse" data-target="#2xx">2xx Success</a></h2>
<div id="2xx" class="collapse">
<p>This class of status code indicates that the client's request was successfully received, understood, and accepted.</p>
<h3>Wikipedia</h3>
@ -94,7 +97,7 @@
</div>
<div class="row">
<div class="span4">
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#ok" href="#">200 OK</a>
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#ok">200 OK</a>
<div id="ok" class="collapse">
<p>The request has succeeded. The information returned with the response is dependent on the method used in the request, for example:
<ul>
@ -110,7 +113,7 @@
</div>
</div>
<div class="span4">
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#created" href="#">201 Created</a>
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#created">201 Created</a>
<div id="created" class="collapse">
<p>The request has been fulfilled and resulted in a new resource being created. The newly created resource can be referenced by the URI(s) returned in the entity of the response, with the most specific URI for the resource given by a Location header field. The response SHOULD include an entity containing a list of resource characteristics and location(s) from which the user or user agent can choose the one most appropriate. The entity format is specified by the media type given in the Content-Type header field. The origin server MUST create the resource before returning the 201 status code. If the action cannot be carried out immediately, the server SHOULD respond with 202 (Accepted) response instead.</p>
<p>A 201 response MAY contain an ETag response header field indicating the current value of the entity tag for the requested variant just created, see section 14.19.</p>
@ -120,7 +123,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#accepted" href="#">202 Accepted</a>
<a data-toggle="collapse" data-target="#accepted">202 Accepted</a>
<div id="accepted" class="collapse">
<p>The request has been accepted for processing, but the processing has not been completed. The request might or might not eventually be acted upon, as it might be disallowed when processing actually takes place. There is no facility for re-sending a status code from an asynchronous operation such as this.</p>
<p>The 202 response is intentionally non-committal. Its purpose is to allow a server to accept a request for some other process (perhaps a batch-oriented process that is only run once per day) without requiring that the user agent's connection to the server persist until the process is completed. The entity returned with this response SHOULD include an indication of the request's current status and either a pointer to a status monitor or some estimate of when the user can expect the request to be fulfilled.</p>
@ -131,7 +134,7 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#nainfo" href="#">203 Non-Authoritative Information</a>
<a data-toggle="collapse" data-target="#nainfo">203 Non-Authoritative Information</a>
<div id="nainfo" class="collapse">
<p>The returned metainformation in the entity-header is not the definitive set as available from the origin server, but is gathered from a local or a third-party copy. The set presented MAY be a subset or superset of the original version. For example, including local annotation information about the resource might result in a superset of the metainformation known by the origin server. Use of this response code is not required and is only appropriate when the response would otherwise be 200 (OK).</p>
<h3>Wikipedia</h3>
@ -140,18 +143,18 @@
</div>
</div>
<div class="span4">
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#nocontent" href="#">204 No Content</a>
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#nocontent">204 No Content</a>
<div id="nocontent" class="collapse">
<p>The server has fulfilled the request but does not need to return an entity-body, and might want to return updated metainformation. The response MAY include new or updated metainformation in the form of entity-headers, which if present SHOULD be associated with the requested variant.</p>
<p>If the client is a user agent, it SHOULD NOT change its document view from that which caused the request to be sent. This response is primarily intended to allow input for actions to take place without causing a change to the user agent's active document view, although any new or updated metainformation SHOULD be applied to the document currently in the user agent's active view.</p>
<p>The 204 response MUST NOT include a message-body, and thus is always terminated by the first empty line after the header fields.</p>
<h3>Wikipedia</h3>
<p>The server successfully processed the request, but is not returning any content.</p>
<p><i class="icon-star"></i> Indicates success but nothing is in the response body, often used for DELETE and UPDATE operations.</p>
<p><i class="icon-star"></i> Status when wrapped responses (e.g. JSEND) are not used and nothing is in the body (e.g. DELETE).</p>
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#resetcontent" href="#">205 Reset Content</a>
<a data-toggle="collapse" data-target="#resetcontent">205 Reset Content</a>
<div id="resetcontent" class="collapse">
<p>The server has fulfilled the request and the user agent SHOULD reset the document view which caused the request to be sent. This response is primarily intended to allow input for actions to take place via user input, followed by a clearing of the form in which the input is given so that the user can easily initiate another input action. The response MUST NOT include an entity.</p>
<h3>Wikipedia</h3>
@ -161,7 +164,7 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#partialcontent" href="#">206 Partial Content</a>
<a data-toggle="collapse" data-target="#partialcontent">206 Partial Content</a>
<div id="partialcontent" class="collapse">
<p>The server has fulfilled the partial GET request for the resource. The request MUST have included a Range header field (section 14.35) indicating the desired range, and MAY have included an If-Range header field (section 14.27) to make the request conditional.</p>
<p>The response MUST include the following header fields:</p>
@ -179,7 +182,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#multi_status" href="#">207 Multi-Status (WebDAV)</a>
<a data-toggle="collapse" data-target="#multi_status">207 Multi-Status (WebDAV)</a>
<div id="multi_status" class="collapse">
<p>The 207 (Multi-Status) status code provides status for multiple independent operations (see section 11 for more information).</p>
<h3>Wikipedia</h3>
@ -187,7 +190,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#already_reported" href="#">208 Already Reported (WebDAV)</a>
<a data-toggle="collapse" data-target="#already_reported">208 Already Reported (WebDAV)</a>
<div id="already_reported" class="collapse">
<p>The 208 (Already Reported) status code can be used inside a DAV: propstat response element to avoid enumerating the internal members of multiple bindings to the same collection repeatedly. For each binding to a collection inside the request's scope, only one will be reported with a 200 status, while subsequent DAV:response elements for all other bindings will use the 208 status, and no DAV:response elements for their descendants are included.</p>
<h3>Wikipedia</h3>
@ -197,7 +200,7 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#im_used" href="#">226 IM Used</a>
<a data-toggle="collapse" data-target="#im_used">226 IM Used</a>
<div id="im_used" class="collapse">
<p>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. The actual current instance might not be available except by combining this response with other previous or future responses, as appropriate for the specific instance-manipulation(s). If so, the headers of the resulting instance are the result of combining the headers from the status-226 response and the other instances, following the rules in section 13.5.3 of the HTTP/1.1 specification.</p>
<p>The request MUST have included an A-IM header field listing at least one instance-manipulation. The response MUST include an Etag header field giving the entity tag of the current instance.</p>
@ -213,7 +216,7 @@
</div>
<div class="row">
<div class="span12">
<h2><a data-toggle="collapse" data-target="#3xx" href="#">3xx Redirection</a></h2>
<h2><a data-toggle="collapse" data-target="#3xx">3xx Redirection</a></h2>
<div id="3xx" class="collapse">
<p>This class of status code indicates that further action needs to be taken by the user agent in order to fulfill the request. The action required MAY be carried out by the user agent without interaction with the user if and only if the method used in the second request is GET or HEAD. A client SHOULD detect infinite redirection loops, since such loops generate network traffic for each redirection.</p>
<blockquote><strong>Note:</strong> previous versions of this specification recommended a maximum of five redirections. Content developers should be aware that there might be clients that implement such a fixed limitation.</blockquote>
@ -225,7 +228,7 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#multiplechoices" href="#">300 Multiple Choices</a>
<a data-toggle="collapse" data-target="#multiplechoices">300 Multiple Choices</a>
<div id="multiplechoices" class="collapse">
<p>The requested resource corresponds to any one of a set of representations, each with its own specific location, and agent- driven negotiation information (section 12) is being provided so that the user (or user agent) can select a preferred representation and redirect its request to that location.</p>
<p>Unless it was a HEAD request, the response SHOULD include an entity containing a list of resource characteristics and location(s) from which the user or user agent can choose the one most appropriate. The entity format is specified by the media type given in the Content- Type header field. Depending upon the format and the capabilities of the user agent, selection of the most appropriate choice MAY be performed automatically. However, this specification does not define any standard for such automatic selection.</p>
@ -235,7 +238,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#movepermanently" href="#">301 Moved Permanently</a>
<a data-toggle="collapse" data-target="#movepermanently">301 Moved Permanently</a>
<div id="movepermanently" class="collapse">
<p>The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs. Clients with link editing capabilities ought to automatically re-link references to the Request-URI to one or more of the new references returned by the server, where possible. This response is cacheable unless indicated otherwise.</p>
<p>The new permanent URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s).</p>
@ -246,7 +249,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#found" href="#">302 Found</a>
<a data-toggle="collapse" data-target="#found">302 Found</a>
<div id="found" class="collapse">
<p>The requested resource resides temporarily under a different URI. Since the redirection might be altered on occasion, the client SHOULD continue to use the Request-URI for future requests. This response is only cacheable if indicated by a Cache-Control or Expires header field.</p>
<p>The temporary URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s).</p>
@ -259,7 +262,7 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#see_other" href="#">303 See Other</a>
<a data-toggle="collapse" data-target="#see_other">303 See Other</a>
<div id="see_other" class="collapse">
<p>The response to the request can be found under a different URI and SHOULD be retrieved using a GET method on that resource. This method exists primarily to allow the output of a POST-activated script to redirect the user agent to a selected resource. The new URI is not a substitute reference for the originally requested resource. The 303 response MUST NOT be cached, but the response to the second (redirected) request might be cacheable.</p>
<p>The different URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s).</p>
@ -270,7 +273,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#not_modified" href="#">304 Not Modified</a>
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#not_modified">304 Not Modified</a>
<div id="not_modified" class="collapse">
<p>If the client has performed a conditional GET request and access is allowed, but the document has not been modified, the server SHOULD respond with this status code. The 304 response MUST NOT contain a message-body, and thus is always terminated by the first empty line after the header fields.</p>
<p>The response MUST include the following header fields:</p>
@ -287,10 +290,11 @@
<p>If a cache uses a received 304 response to update a cache entry, the cache MUST update the entry to reflect any new field values given in the response.</p>
<h3>Wikipedia</h3>
<p>Indicates the resource has not been modified since last requested. Typically, the HTTP client provides a header like the If-Modified-Since header to provide a time against which to compare. Using this saves bandwidth and reprocessing on both the server and client, as only the header data must be sent and received in comparison to the entirety of the page being re-processed by the server, then sent again using more bandwidth of the server and client.</p>
<p><i class="icon-star"></i> Used for conditional GET calls to reduce band-width usage. If used, must set the Date, Content-Location, ETag headers to what they would have been on a regular GET call. There must be no body on the response.</p>
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#use_proxy" href="#">305 Use Proxy</a>
<a data-toggle="collapse" data-target="#use_proxy">305 Use Proxy</a>
<div id="use_proxy" class="collapse">
<p>The requested resource MUST be accessed through the proxy given by the Location field. The Location field gives the URI of the proxy. The recipient is expected to repeat this single request via the proxy. 305 responses MUST only be generated by origin servers.</p>
<blockquote>Note: RFC 2068 was not clear that 305 was intended to redirect a single request, and to be generated by origin servers only. Not observing these limitations has significant security consequences.</blockquote>
@ -301,7 +305,7 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#306unused" href="#">306 (Unused)</a>
<a data-toggle="collapse" data-target="#306unused">306 (Unused)</a>
<div id="306unused" class="collapse">
<p>The 306 status code was used in a previous version of the specification, is no longer used, and the code is reserved.</p>
<h3>Wikipedia</h3>
@ -309,7 +313,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#temp_redirect" href="#">307 Temporary Redirect</a>
<a data-toggle="collapse" data-target="#temp_redirect">307 Temporary Redirect</a>
<div id="temp_redirect" class="collapse">
<p>The requested resource resides temporarily under a different URI. Since the redirection MAY be altered on occasion, the client SHOULD continue to use the Request-URI for future requests. This response is only cacheable if indicated by a Cache-Control or Expires header field.</p>
<p>The temporary URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s) , since many pre-HTTP/1.1 user agents do not understand the 307 status. Therefore, the note SHOULD contain the information necessary for a user to repeat the original request on the new URI.</p>
@ -319,7 +323,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#perm_redirect" href="#">308 Permanent Redirect (experiemental)</a>
<a data-toggle="collapse" data-target="#perm_redirect">308 Permanent Redirect (experiemental)</a>
<div id="perm_redirect" class="collapse">
<h3>Wikipedia</h3>
<p>The request, and all future requests should be repeated using another URI. 307 and 308 (as proposed) parallel the behaviours of 302 and 301, but do not require the HTTP method to change. So, for example, submitting a form to a permanently redirected resource may continue smoothly.</p>
@ -339,7 +343,7 @@
</div>
<div class="row">
<div class="span4">
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#bad_request" href="#">400 Bad Request</a>
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#bad_request">400 Bad Request</a>
<div id="bad_request" class="collapse">
<p>The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.</p>
<h3>Wikipedia</h3>
@ -348,7 +352,7 @@
</div>
</div>
<div class="span4">
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#unauthorized" href="#">401 Unauthorized</a>
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#unauthorized">401 Unauthorized</a>
<div id="unauthorized" class="collapse">
<p>The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.47) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity might include relevant diagnostic information. HTTP access authentication is explained in "HTTP Authentication: Basic and Digest Access Authentication".</p>
<h3>Wikipedia</h3>
@ -357,7 +361,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#pmt_required" href="#">402 Payment Required</a>
<a data-toggle="collapse" data-target="#pmt_required">402 Payment Required</a>
<div id="pmt_required" class="collapse">
<p>This code is reserved for future use.</p>
<h3>Wikipedia</h3>
@ -367,7 +371,7 @@
</div>
<div class="row">
<div class="span4">
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#forbidden" href="#">403 Forbidden</a>
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#forbidden">403 Forbidden</a>
<div id="forbidden" class="collapse">
<p>The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. If the server does not wish to make this information available to the client, the status code 404 (Not Found) can be used instead.</p>
<h3>Wikipedia</h3>
@ -376,7 +380,7 @@
</div>
</div>
<div class="span4">
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#not_found" href="#">404 Not Found</a>
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#not_found">404 Not Found</a>
<div id="not_found" class="collapse">
<p>The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.</p>
<h3>Wikipedia</h3>
@ -385,18 +389,17 @@
</div>
</div>
<div class="span4">
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#method_no_allowed" href="#">405 Method Not Allowed</a>
<a data-toggle="collapse" data-target="#method_no_allowed">405 Method Not Allowed</a>
<div id="method_no_allowed" class="collapse">
<p>The method specified in the Request-Line is not allowed for the resource identified by the Request-URI. The response MUST include an Allow header containing a list of valid methods for the requested resource.</p>
<h3>Wikipedia</h3>
<p>A request was made of a resource using a request method not supported by that resource; for example, using GET on a form which requires data to be presented via POST, or using PUT on a read-only resource.</p>
<p><i class="icon-star"></i> Used to indicate that the requested URL exists, but the requested HTTP method is not applicable. For example, <em>POST /users/12345</em> where the API doesn't support creation of resources this way (with a provided ID). The Allow HTTP header must be set when returning a 405 to indicate the HTTP methods that are supported. In the previous case, the header would look like &quot;Allow: GET, PUT, DELETE&quot;</p>
</div>
</div>
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#not_acceptable" href="#">406 Not Acceptable</a>
<a data-toggle="collapse" data-target="#not_acceptable">406 Not Acceptable</a>
<div id="not_acceptable" class="collapse">
<p>The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request.</p>
<p>Unless it was a HEAD request, the response SHOULD include an entity containing a list of available entity characteristics and location(s) from which the user or user agent can choose the one most appropriate. The entity format is specified by the media type given in the Content-Type header field. Depending upon the format and the capabilities of the user agent, selection of the most appropriate choice MAY be performed automatically. However, this specification does not define any standard for such automatic selection.</p>
@ -407,7 +410,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#proxy_auth_rqd" href="#">407 Proxy Authentication Required</a>
<a data-toggle="collapse" data-target="#proxy_auth_rqd">407 Proxy Authentication Required</a>
<div id="proxy_auth_rqd" class="collapse">
<p>This code is similar to 401 (Unauthorized), but indicates that the client must first authenticate itself with the proxy. The proxy MUST return a Proxy-Authenticate header field (section 14.33) containing a challenge applicable to the proxy for the requested resource. The client MAY repeat the request with a suitable Proxy-Authorization header field (section 14.34). HTTP access authentication is explained in "HTTP Authentication: Basic and Digest Access Authentication".</p>
<h3>Wikipedia</h3>
@ -415,7 +418,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#request_timeout" href="#">408 Request Timeout</a>
<a data-toggle="collapse" data-target="#request_timeout">408 Request Timeout</a>
<div id="request_timeout" class="collapse">
<p>The client did not produce a request within the time that the server was prepared to wait. The client MAY repeat the request without modifications at any later time.</p>
<h3>Wikipedia</h3>
@ -425,7 +428,7 @@
</div>
<div class="row">
<div class="span4">
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#conflict" href="#">409 Conflict</a>
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#conflict">409 Conflict</a>
<div id="conflict" class="collapse">
<p>The request could not be completed due to a conflict with the current state of the resource. This code is only allowed in situations where it is expected that the user might be able to resolve the conflict and resubmit the request. The response body SHOULD include enough information for the user to recognize the source of the conflict. Ideally, the response entity would include enough information for the user or user agent to fix the problem; however, that might not be possible and is not required.</p>
<p>Conflicts are most likely to occur in response to a PUT request. For example, if versioning were being used and the entity being PUT included changes to a resource which conflict with those made by an earlier (third-party) request, the server might use the 409 response to indicate that it can't complete the request. In this case, the response entity would likely contain a list of the differences between the two versions in a format defined by the response Content-Type.</p>
@ -435,7 +438,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#gone" href="#">410 Gone</a>
<a data-toggle="collapse" data-target="#gone">410 Gone</a>
<div id="gone" class="collapse">
<p>The requested resource is no longer available at the server and no forwarding address is known. This condition is expected to be considered permanent. Clients with link editing capabilities SHOULD delete references to the Request-URI after user approval. If the server does not know, or has no facility to determine, whether or not the condition is permanent, the status code 404 (Not Found) SHOULD be used instead. This response is cacheable unless indicated otherwise.</p>
<p>The 410 response is primarily intended to assist the task of web maintenance by notifying the recipient that the resource is intentionally unavailable and that the server owners desire that remote links to that resource be removed. Such an event is common for limited-time, promotional services and for resources belonging to individuals no longer working at the server's site. It is not necessary to mark all permanently unavailable resources as "gone" or to keep the mark for any length of time -- that is left to the discretion of the server owner.</p>
@ -444,7 +447,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#length_rqd" href="#">411 Length Required</a>
<a data-toggle="collapse" data-target="#length_rqd">411 Length Required</a>
<div id="length_rqd" class="collapse">
<p>The server refuses to accept the request without a defined Content- Length. The client MAY repeat the request if it adds a valid Content-Length header field containing the length of the message-body in the request message.</p>
<h3>Wikipedia</h3>
@ -454,7 +457,7 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#precondition_failed" href="#">412 Precondition Failed</a>
<a data-toggle="collapse" data-target="#precondition_failed">412 Precondition Failed</a>
<div id="precondition_failed" class="collapse">
<p>The precondition given in one or more of the request-header fields evaluated to false when it was tested on the server. This response code allows the client to place preconditions on the current resource metainformation (header field data) and thus prevent the requested method from being applied to a resource other than the one intended.</p>
<h3>Wikipedia</h3>
@ -462,7 +465,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#request_entity_too_large" href="#">413 Request Entity Too Large</a>
<a data-toggle="collapse" data-target="#request_entity_too_large">413 Request Entity Too Large</a>
<div id="request_entity_too_large" class="collapse">
<p>The server is refusing to process a request because the request entity is larger than the server is willing or able to process. The server MAY close the connection to prevent the client from continuing the request.</p>
<p>If the condition is temporary, the server SHOULD include a Retry- After header field to indicate that it is temporary and after what time the client MAY try again.</p>
@ -471,7 +474,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#request_uri_too_long" href="#">414 Request-URI Too Long</a>
<a data-toggle="collapse" data-target="#request_uri_too_long">414 Request-URI Too Long</a>
<div id="request_uri_too_long" class="collapse">
<p>The server is refusing to service the request because the Request-URI is longer than the server is willing to interpret. This rare condition is only likely to occur when a client has improperly converted a POST request to a GET request with long query information, when the client has descended into a URI "black hole" of redirection (e.g., a redirected URI prefix that points to a suffix of itself), or when the server is under attack by a client attempting to exploit security holes present in some servers using fixed-length buffers for reading or manipulating the Request-URI.</p>
<h3>Wikipedia</h3>
@ -481,7 +484,7 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#unsupported_media_type" href="#">415 Unsupported Media Type</a>
<a data-toggle="collapse" data-target="#unsupported_media_type">415 Unsupported Media Type</a>
<div id="unsupported_media_type" class="collapse">
<p>The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.</p>
<h3>Wikipedia</h3>
@ -489,7 +492,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#requested_range_not_satisfiable" href="#">416 Requested Range Not Satisfiable</a>
<a data-toggle="collapse" data-target="#requested_range_not_satisfiable">416 Requested Range Not Satisfiable</a>
<div id="requested_range_not_satisfiable" class="collapse">
<p>A server SHOULD return a response with this status code if a request included a Range request-header field (section 14.35), and none of the range-specifier values in this field overlap the current extent of the selected resource, and the request did not include an If-Range request-header field. (For byte-ranges, this means that the first- byte-pos of all of the byte-range-spec values were greater than the current length of the selected resource.)</p>
<p>When this status code is returned for a byte-range request, the response SHOULD include a Content-Range entity-header field specifying the current length of the selected resource (see section 14.16). This response MUST NOT use the multipart/byteranges content- type.</p>
@ -498,7 +501,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#expectation_failed" href="#">417 Expectation Failed</a>
<a data-toggle="collapse" data-target="#expectation_failed">417 Expectation Failed</a>
<div id="expectation_failed" class="collapse">
<p>The expectation given in an Expect request-header field (see section 14.20) could not be met by this server, or, if the server is a proxy, the server has unambiguous evidence that the request could not be met by the next-hop server.</p>
<h3>Wikipedia</h3>
@ -508,21 +511,21 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#teapot" href="#">418 I'm a teapot (RFC 2324)</a>
<a data-toggle="collapse" data-target="#teapot">418 I'm a teapot (RFC 2324)</a>
<div id="teapot" class="collapse">
<h3>Wikipedia</h3>
<p>This code was defined in 1998 as one of the traditional IETF April Fools' jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol, and is not expected to be implemented by actual HTTP servers. However, known implementations do exist. An Nginx HTTP server uses this code to simulate goto-like behaviour in its configuration.</p>
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#enhance_your_calm" href="#">420 Enhance Your Calm (Twitter)</a>
<a data-toggle="collapse" data-target="#enhance_your_calm">420 Enhance Your Calm (Twitter)</a>
<div id="enhance_your_calm" class="collapse">
<h3>Wikipedia</h3>
<p>Returned by the Twitter Search and Trends API when the client is being rate limited. Likely a reference to this number's association with marijuana. Other services may wish to implement the 429 Too Many Requests response code instead.</p>
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#unprocessable_entity" href="#">422 Unprocessable Entity (WebDAV)</a>
<a data-toggle="collapse" data-target="#unprocessable_entity">422 Unprocessable Entity (WebDAV)</a>
<div id="unprocessable_entity" class="collapse">
<p>The 422 (Unprocessable Entity) status code means the server understands the content type of the request entity (hence a 415(Unsupported Media Type) status code is inappropriate), and the syntax of the request entity is correct (thus a 400 (Bad Request) status code is inappropriate) but was unable to process the contained instructions. For example, this error condition may occur if an XML request body contains well-formed (i.e., syntactically correct), but semantically erroneous, XML instructions.</p>
<h3>Wikipedia</h3>
@ -532,7 +535,7 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#locked" href="#">423 Locked (WebDAV)</a>
<a data-toggle="collapse" data-target="#locked">423 Locked (WebDAV)</a>
<div id="locked" class="collapse">
<p>The 423 (Locked) status code means the source or destination resource of a method is locked. This response SHOULD contain an appropriate precondition or postcondition code, such as 'lock-token-submitted' or 'no-conflicting-lock'.</p>
<h3>Wikipedia</h3>
@ -540,7 +543,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#failed_dependency" href="#">424 Failed Dependency (WebDAV)</a>
<a data-toggle="collapse" data-target="#failed_dependency">424 Failed Dependency (WebDAV)</a>
<div id="failed_dependency" class="collapse">
<p>The 424 (Failed Dependency) status code means that the method could not be performed on the resource because the requested action depended on another action and that action failed. For example, if a command in a PROPPATCH method fails, then, at minimum, the rest of the commands will also fail with 424 (Failed Dependency).</p>
<h3>Wikipedia</h3>
@ -548,7 +551,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#adv_collections_expired" href="#">425 Reserved for WebDAV</a>
<a data-toggle="collapse" data-target="#adv_collections_expired">425 Reserved for WebDAV</a>
<div id="adv_collections_expired" class="collapse">
<p>Slein, J., Whitehead, E.J., et al., &quot;WebDAV Advanced Collections Protocol&quot;, Work In Progress.</p>
<h3>Wikipedia</h3>
@ -558,7 +561,7 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#upgrade_required" href="#">426 Upgrade Required</a>
<a data-toggle="collapse" data-target="#upgrade_required">426 Upgrade Required</a>
<div id="upgrade_required" class="collapse">
<p>Reliable, interoperable negotiation of Upgrade features requires an unambiguous failure signal. The 426 Upgrade Required status code allows a server to definitively state the precise protocol extensions a given resource must be served with.</p>
<h3>Wikipedia</h3>
@ -566,7 +569,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#precondition_required" href="#">428 Precondition Required (draft)</a>
<a data-toggle="collapse" data-target="#precondition_required">428 Precondition Required (draft)</a>
<div id="precondition_required" class="collapse">
<p>The 428 status code indicates that the origin server requires the request to be conditional.</p>
<p>Its typical use is to avoid the "lost update" problem, where a client GETs a resource's state, modifies it, and PUTs it back to the server, when meanwhile a third party has modified the state on the server, leading to a conflict. By requiring requests to be conditional, the server can assure that clients are working with the correct copies.</p>
@ -577,7 +580,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#too_many_requests" href="#">429 Too Many Requests (draft)</a>
<a data-toggle="collapse" data-target="#too_many_requests">429 Too Many Requests (draft)</a>
<div id="too_many_requests" class="collapse">
<p>The 429 status code indicates that the user has sent too many requests in a given amount of time ("rate limiting").</p>
<p>The response representations SHOULD include details explaining the condition, and MAY include a Retry-After header indicating how long to wait before making a new request.</p>
@ -590,7 +593,7 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#request_header_fields_too_large" href="#">431 Request Header Fields Too Large (draft)</a>
<a data-toggle="collapse" data-target="#request_header_fields_too_large">431 Request Header Fields Too Large (draft)</a>
<div id="request_header_fields_too_large" class="collapse">
<p>The 431 status code indicates that 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.</p>
<p>It can be used both when the set of request header fields in total are too large, and when a single header field is at fault. In the latter case, the response representation SHOULD specify which header field was too large.</p>
@ -600,14 +603,14 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#no_response_nginx" href="#">444 No Response (Nginx)</a>
<a data-toggle="collapse" data-target="#no_response_nginx">444 No Response (Nginx)</a>
<div id="no_response_nginx" class="collapse">
<h3>Wikipedia</h3>
<p>An Nginx HTTP server extension. The server returns no information to the client and closes the connection (useful as a deterrent for malware).</p>
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#retry_with" href="#">449 Retry With (Microsoft)</a>
<a data-toggle="collapse" data-target="#retry_with">449 Retry With (Microsoft)</a>
<div id="retry_with" class="collapse">
<h3>Wikipedia</h3>
<p>A Microsoft extension. The request should be retried after performing the appropriate action.</p>
@ -616,14 +619,14 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#blocked_by_windows_parental" href="#">450 Blocked by Windows Parental Controls (Microsoft)</a>
<a data-toggle="collapse" data-target="#blocked_by_windows_parental">450 Blocked by Windows Parental Controls (Microsoft)</a>
<div id="blocked_by_windows_parental" class="collapse">
<h3>Wikipedia</h3>
<p>A Microsoft extension. This error is given when Windows Parental Controls are turned on and are blocking access to the given webpage.</p>
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#client_closed_request" href="#">499 Client Closed Request (Nginx)</a>
<a data-toggle="collapse" data-target="#client_closed_request">499 Client Closed Request (Nginx)</a>
<div id="client_closed_request" class="collapse">
<h3>Wikipedia</h3>
<p>An Nginx HTTP server extension. This code is introduced to log the case when the connection is closed by client while HTTP server is processing its request, making server unable to send the HTTP header back.</p>
@ -646,16 +649,16 @@
</div>
<div class="row">
<div class="span4">
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#internal_server_error" href="#">500 Internal Server Error</a>
<i class="icon-star"></i> <a data-toggle="collapse" data-target="#internal_server_error">500 Internal Server Error</a>
<div id="internal_server_error" class="collapse">
<p>The server encountered an unexpected condition which prevented it from fulfilling the request.</p>
<h3>Wikipedia</h3>
<p>A generic error message, given when no more specific message is suitable.</p>
<p><i class="icon-star"></i> The general catch-all error when the server-side throws an exception. Use this only for errors that the consumer cannot address from their end&mdash;never return this intentionally.</p>
<p><i class="icon-star"></i> The general catch-all error when the server-side throws an exception.</p>
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#not_implemented" href="#">501 Not Implemented</a>
<a data-toggle="collapse" data-target="#not_implemented">501 Not Implemented</a>
<div id="not_implemented" class="collapse">
<p>The server does not support the functionality required to fulfill the request. This is the appropriate response when the server does not recognize the request method and is not capable of supporting it for any resource.</p>
<h3>Wikipedia</h3>
@ -663,7 +666,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#bad_gateway" href="#">502 Bad Gateway</a>
<a data-toggle="collapse" data-target="#bad_gateway">502 Bad Gateway</a>
<div id="bad_gateway" class="collapse">
<p>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.</p>
<h3>Wikipedia</h3>
@ -673,7 +676,7 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#service_unavailable" href="#">503 Service Unavailable</a>
<a data-toggle="collapse" data-target="#service_unavailable">503 Service Unavailable</a>
<div id="service_unavailable" class="collapse">
<p>The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay MAY be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.</p>
<blockquote>Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection.</blockquote>
@ -682,7 +685,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#gateway_timeout" href="#">504 Gateway Timeout</a>
<a data-toggle="collapse" data-target="#gateway_timeout">504 Gateway Timeout</a>
<div id="gateway_timeout" class="collapse">
<p>The server, while acting as a gateway or proxy, did not receive a timely response from the upstream server specified by the URI (e.g. HTTP, FTP, LDAP) or some other auxiliary server (e.g. DNS) it needed to access in attempting to complete the request.</p>
<blockquote>Note: Note to implementors: some deployed proxies are known to return 400 or 500 when DNS lookups time out.</blockquote>
@ -691,7 +694,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#version_not_supported" href="#">505 HTTP Version Not Supported</a>
<a data-toggle="collapse" data-target="#version_not_supported">505 HTTP Version Not Supported</a>
<div id="version_not_supported" class="collapse">
<p>The server does not support, or refuses to support, the HTTP protocol version that was used in the request message. The server is indicating that it is unable or unwilling to complete the request using the same major version as the client, as described in section 3.1, other than with this error message. The response SHOULD contain an entity describing why that version is not supported and what other protocols are supported by that server.</p>
<h3>Wikipedia</h3>
@ -701,7 +704,7 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#variant_also_negotiates" href="#">506 Variant Also Negotiates (Experimental)</a>
<a data-toggle="collapse" data-target="#variant_also_negotiates">506 Variant Also Negotiates (Experimental)</a>
<div id="variant_also_negotiates" class="collapse">
<p>The 506 status code indicates that 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.</p>
<h3>Wikipedia</h3>
@ -709,7 +712,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#insufficient_storage" href="#">507 Insufficient Storage (WebDAV)</a>
<a data-toggle="collapse" data-target="#insufficient_storage">507 Insufficient Storage (WebDAV)</a>
<div id="insufficient_storage" class="collapse">
<p>The 507 (Insufficient Storage) status code means the method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request. This condition is considered to be temporary. If the request that received this status code was the result of a user action, the request MUST NOT be repeated until it is requested by a separate user action.</p>
<h3>Wikipedia</h3>
@ -717,7 +720,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#loop_detected" href="#">508 Loop Detected (WebDAV)</a>
<a data-toggle="collapse" data-target="#loop_detected">508 Loop Detected (WebDAV)</a>
<div id="loop_detected" class="collapse">
<p>The 508 (Loop Detected) status code indicates that the server terminated an operation because it encountered an infinite loop while processing a request with &quot;Depth: infinity&quot;. This status indicates that the entire operation failed.</p>
<h3>Wikipedia</h3>
@ -727,14 +730,14 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#bandwidth_limit_exceeded" href="#">509 Bandwidth Limit Exceeded (Apache)</a>
<a data-toggle="collapse" data-target="#bandwidth_limit_exceeded">509 Bandwidth Limit Exceeded (Apache)</a>
<div id="bandwidth_limit_exceeded" class="collapse">
<h3>Wikipedia</h3>
<p>This status code, while used by many servers, is not specified in any RFCs.</p>
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#not_extended" href="#">510 Not Extended</a>
<a data-toggle="collapse" data-target="#not_extended">510 Not Extended</a>
<div id="not_extended" class="collapse">
<p>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. It is outside the scope of this specification to specify how the extensions inform the client.</p>
<p>If the 510 response contains information about extensions that were not present in the initial request then the client MAY repeat the request if it has reason to believe it can fulfill the extension policy by modifying the request according to the information provided in the 510 response. Otherwise the client MAY present any entity included in the 510 response to the user, since that entity may include relevant diagnostic information.</p>
@ -743,7 +746,7 @@
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#net_authn_required" href="#">511 Network Authentication Required (draft)</a>
<a data-toggle="collapse" data-target="#net_authn_required">511 Network Authentication Required (draft)</a>
<div id="net_authn_required" class="collapse">
<p>The 511 status code indicates that the client needs to authenticate to gain network access.</p>
<p>The response representation SHOULD contain a link to a resource that allows the user to submit credentials (e.g. with a HTML form).</p>
@ -763,14 +766,14 @@
</div>
<div class="row">
<div class="span4">
<a data-toggle="collapse" data-target="#network_read_timeout" href="#">598 Network read timeout error</a>
<a data-toggle="collapse" data-target="#network_read_timeout">598 Network read timeout error</a>
<div id="network_read_timeout" class="collapse">
<h3>Wikipedia</h3>
<p>This status code is not specified in any RFCs, but is used by some HTTP proxies to signal a network read timeout behind the proxy to a client in front of the proxy.</p>
</div>
</div>
<div class="span4">
<a data-toggle="collapse" data-target="#network_connect_timeout" href="#">599 Network connect timeout error</a>
<a data-toggle="collapse" data-target="#network_connect_timeout">599 Network connect timeout error</a>
<div id="network_connect_timeout" class="collapse">
<h3>Wikipedia</h3>
<p>This status code is not specified in any RFCs, but is used by some HTTP proxies to signal a network connect timeout behind the proxy to a client in front of the proxy.</p>