In this case, I returned a 207 Multi-Status Now, this isn't strict HTTP, it's part of the WebDAV extension, so if you don't have control over the client too, then this The purpose of this code is to avoid having the client time out with an error. [WebDAV] All 200 level codes * Success. 200 OK [HTTP] GET Method, HEAD Method, OPTIONS These status codes are applicable to any request method. If the client is a user agent, it SHOULD NOT change its document view from that which caused the request to be sent. http://bookmarq.net/http-error/http-error-code-300.php
Advanced Search: Search Home Tools Sign in / Create an account Edit page New page More Table of contents REST & WOA Wiki HTTP Status Codes 207 - Multi-Status Table Sending a large request body to a server after a request has been rejected for inappropriate headers would be inefficient. The context shifts a bit and the defintion of things get a bit blurry or at least hard to understand –Norbert Hartl Dec 12 '11 at 11:44 The context This raises complexity and you need a good reason to do it then. –Norbert Hartl Dec 13 '11 at 13:54 add a comment| up vote 16 down vote I've had the http://www.restpatterns.org/HTTP_Status_Codes/207_-_Multi-Status
Advanced Search: Search Home Tools Sign in / Create an account Edit page New page More Table of contents REST & WOA Wiki HTTP Status Codes 207 - Multi-Status Table This allows the client to do the next PUT using the If-Match precondition to ensure that edits are not lost. Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. The request should be retried after performing the appropriate action. 450 Blocked by Windows Parental Controls (Microsoft) Wikipedia A Microsoft extension.
There must be no body on the response. 305 Use Proxy The requested resource MUST be accessed through the proxy given by the Location field. This condition is expected to be considered permanent. The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource. Http 503 The default Multi-Status response body is a text/xml or application/xml HTTP entity with a 'multistatus' root element.
Used when the requested resource is not found, whether it doesn't exist or if there was a 401 or 403 that, for security reasons, the service wants to mask. 405 Method Retrieved February 25, 2011. ^ "Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content". The set presented MAY be a subset or superset of the original version. If a 304 response indicates an entity not currently cached, then the cache MUST disregard the response and repeat the request without the conditional.
This error is given when Windows Parental Controls are turned on and are blocking access to the given webpage. 498 Invalid Token (Esri) Returned by ArcGIS for Server. Http Error 500 Wordpress Why don't quaternions contradict the Fundamental Theorem of Algebra? The entity format is specified by the media type given in the Content-Type header field. Thanks! –Norbert Hartl Dec 12 '11 at 13:19 The nice thing about it is that you can return as much or little of pertinent data as you want -
How to avoid const cast for map access? http://stackoverflow.com/questions/30571489/what-are-applicable-scenarios-in-using-http-status-207-in-rest-api However, these risks are not unique to the 511 status code; in other words, a captive portal that is not using this status code introduces the same issues. Http 207 Example 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. Http Code 302 nginx 1.9.5 source code.
Wikipedia The client must take additional action to complete the request. http://bookmarq.net/http-error/http-error-code-409.php Retrieved May 1, 2012. ^ Bray, T. (February 2016). "An HTTP Status Code to Report Legal Obstacles". In contrast to how 302 was historically implemented, the request method is not allowed to be changed when reissuing the original request. Generally, this is a temporary state. 504 Gateway Time-out The server was acting as a gateway or proxy and did not receive a timely response from the upstream server. 505 HTTP Http 504
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. Error code response for missing or invalid authentication token. 402 Payment Required This code is reserved for future use. Many of these status codes are used in URL redirection. A user agent may carry out the additional action with no user interaction only if the method used in the second http://bookmarq.net/http-error/http-error-code.php The client MAY repeat the request with a suitable Authorization header field (section 14.8).
Retrieved 16 October 2015. ^ "diff --git a/linkchecker.module b/linkchecker.module". 207 Multi-status Example Intended for use with rate limiting schemes. 431 Request Header Fields Too Large The 431 status code indicates that the server is unwilling to process the request because its header fields Conditions in modeler field calculator Why do we use the electron volt?
But if you return a body you need to parse it. Responses using this status code SHOULD explain how to resubmit the request successfully. It becomes hypertext when you add the corresponing Content-Type header otherwise there is no single difference. –Norbert Hartl Dec 12 '11 at 11:52 | show 2 more comments Your Answer Http Response Example Retrieved February 8, 2015. ^ "Google API Standard Error Responses".
If you do, you could do something like so:
The response MUST include the following header fields: Date, unless its omission is required by section 14.18.1 If a clockless origin server obeys these rules, and proxies and clients add their IETF. However, some Web applications and frameworks use the 302 status code as if it were the 303. 303 See Other The response to the request can be found under a different Related 683HTTP status code for update and delete?184What HTTP status response code should I use if the request is missing a required parameter?471REST HTTP status codes for failed validation or invalid
This response is cacheable unless indicated otherwise. Wikipedia Similar to 403 Forbidden, but specifically for use when authentication is possible but has failed or not yet been provided. 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. nginx inc.
Note: Many pre-HTTP/1.1 user agents do not understand the 303 status. A cache MUST NOT combine a 206 response with other previously cached content if the ETag or Last-Modified headers do not match exactly, see 13.5.4. Likewise, user agents should display any included entity to the user.