Home > Http Code > Http 402 Error

Http 402 Error

Contents

The document is in MIME format, and may only be in text/plain, text/html or one for the formats specified as acceptable in the request. Retrieved 16 October 2015. ^ Berners-Lee, Tim; Fielding, Roy T.; Nielsen, Henrik Frystyk (May 1996). When received in response to a POST (or PUT/DELETE), it should be assumed that the server has received the data and the redirect should be issued with a separate GET message. Microsoft. this contact form

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. According to W3 HTTP specifications: "The client did not produce a request within the time that the server was prepared to wait. Intended to prevent "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 Except when responding to a HEAD request, the server should include an entity containing an explanation of the error situation, and whether it is a temporary or permanent condition.

Http Status Codes Cheat Sheet

Check the value of the Authorization HTTP request header. This code indicates that the server has received and is processing the request, but no response is available yet. Transparent Content Negotiation in HTTP.

The 303 response MUST NOT be cached, but the response to the second (redirected) request might be cacheable. Usually this implies future availability (e.g., a new feature of a web-service API).[citation needed] 502 Bad Gateway The server was acting as a gateway or proxy and received an invalid response Connect Announcements Blog Tools Libraries APIs Explorer Product Info Terms of Service Pricing and Usage Limits Android Chrome Firebase Google Cloud Platform All Products TermsPrivacy العربيّة български català 简体中文 繁體中文 Hrvatski Http 422 Ha ha funny, right?

The response MUST include an Allow header containing a list of valid methods for the requested resource. Http Response Example Drupal. It is non-committal, meaning that there is no way in HTTP to later send an asynchronous response indicating the outcome of processing the request. A cache that does not support the Range and Content-Range headers MUST NOT cache 206 (Partial) responses.

Wikipedia In this case, the request should be repeated with another URI; however, future requests can still use the original URI. Http Code 403 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). July 14, 2009. In a POST request the response will contain an entity describing or containing the result of the action.

  1. This is the appropriate response when the server does not recognize the request method and is not capable of supporting it for any resource.
  2. If the client is a user agent, it SHOULD NOT change its document view from that which caused the request to be sent.
  3. 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.
  4. Check Up Down.
  5. mediaDownloadRedirect Your request was processed successfully.
  6. responseTooLarge The requested resource is too large to return.
  7. A user agent should not automatically redirect a request more than five times, since such redirections usually indicate an infinite loop. 300 Multiple Choices The requested resource corresponds to any one
  8. dailyLimitExceeded A daily quota limit for the API has been reached.
  9. Note: RFC 1945 and RFC 2068 specify that the client is not allowed to change the method on the redirected request.
  10. Retrieved 2016-01-09. ^ "ngx_http_special_response.c".

Http Response Example

Error 4xx, 5xx The 4xx codes are intended for cases in which the client seems to have erred, and the 5xx codes for the cases in which the server is aware http://stackoverflow.com/questions/1270759/difference-between-http-response-status-code-402-and-403 What does "I've eaten myself stupid" mean? Http Status Codes Cheat Sheet The origin server MUST create the resource before returning the 201 status code. Http Error Wordpress IETF.

Therefore, the note SHOULD contain the information necessary for a user to repeat the original request on the new URI. weblink 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 required The API request is missing required information. If the 301 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed Http Code 302

HTTP access authentication is explained in "HTTP Authentication: Basic and Digest Access Authentication" [43]. 10.4.9 408 Request Timeout The client did not produce a request within the time that the server Retrieved 16 October 2015. ^ "202". Therefore, servers are not required to use the 429 status code; when limiting resource usage, it may be more appropriate to just drop connections, or take other steps. navigate here Unless otherwise stated, the status code is part of the HTTP/1.1 standard (RFC 7231).[1] The Internet Assigned Numbers Authority (IANA) maintains the official registry of HTTP status codes.[2] Microsoft IIS sometimes

The original intention was that this code might be used as part of some form of digital cash or micropayment scheme, but that has not happened, and this code is not Http 404 HEAD: The entity headers are in the message body. Retrieved 16 October 2015. ^ "101".

Check the value of the alt request parameter.

Retrieved 13 February 2016. ^ "300". This may include annotation information about the object, for example. These status codes are applicable to any request method. Http 502 serverFault.

Please sign up using the Google Developers Console. Note that together with this response, a user-friendly page explaining the problem should be sent. Therefore, HTTP/1.1 added status codes 303 and 307 to distinguish between the two behaviours.[22] However, some Web applications and frameworks use the 302 status code as if it were the 303.[23] http://domcached.com/http-code/http-error-509.html Intended for use by intercepting proxies used to control access to the network (e.g., "captive portals" used to require agreement to Terms of Service before granting full Internet access via a

This response is cacheable unless indicated otherwise. 10.3.2 301 Moved Permanently The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one 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. It was introduced to allow migration to an incompatible protocol version, and is not in common use. Not the answer you're looking for?

As an example of its use, however, Apple's MobileMe service generates a 402 error ("httpStatusCode:402" in the Mac OS X Console log) if the MobileMe account is delinquent. 403 Forbidden The The Location field gives the URI of the proxy. This response MUST NOT use the multipart/byteranges content- type. 10.4.18 417 Expectation Failed The expectation given in an Expect request-header field (see section 14.20) could not be met by this server, Note: When automatically redirecting a POST request after receiving a 301 status code, some existing HTTP/1.0 user agents will erroneously change it into a GET request.

Unexpected 1xx status responses MAY be ignored by a user agent. Wikipedia The server is delivering only part of the resource due to a range header sent by the client. Oracle. Wikipedia This means that the server has received the request headers, and that the client should proceed to send the request body (in the case of a request for which a

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.