Ajax Status Status Description __ajax

Source: Internet
Author: User

The ReadyState property consists of five possible values:

0: (uninitialized) The Send method has not yet been invoked
1: (in load) the Send method has been invoked and the request is still being processed
2: (loaded) The Send method is complete and the entire answer has been received
3: (in interaction) parsing the answer
4: (completed) The answer has been resolved and ready for next steps.

Object XMLHttpRequest Property Status: 0**: Not initialized 1**: Request received, continue processing 2**: Operation received, analyzed, accepted 3**: Complete this request must be further processed 4**: The request contains an error syntax or cannot be completed 5** : Server executes a fully valid request failed 100--customer must continue to issue request (Continue) 101--client requires server to convert HTTP protocol version (switching protocols) 200--transaction Success (OK) 201-- Prompt to know the URL of the new file (Created) 202--accept and process, but the processing has not completed (accepted) 203--return information is uncertain or incomplete (non-authoritative information) 204--request received, but the return information is empty (No Content) 205--Server completes the request, the user agent must reset the currently viewed file (reset content) 206--server has completed some user's Get request (Partial content) 300-- The requested resource can be obtained in many places (multiple choices) 301--Delete request data (moved Permanently) 302--the request data (Found) are found at other addresses 303--recommend that customers access other URLs or access methods (see Other) 304--the client has executed a GET, but the file has not changed (not Modified) 305--The requested resource must be obtained from the address specified by the server (use Proxy) 306--the code used in the previous version of HTTP, no longer used in the current version 307-- Declares that the requested resource is temporarily deleted (temporary Redirect) 400--An error request, such as a syntax error (Bad request) 401--request authorization failure (unauthorized) 402--retains a valid Chargeto header response ( Payment Required) 403--request is not allowed (because the resource is not available because of the permissions set on the file or directory on the server) (forbidden) 404--no files, queries, or URLs (no specified resources found) (not Found) 405-- The method defined by the user in the Request-line field does not allow (methods not allowed) 406--the requested resource is inaccessible (not acceptable), depending on the accept being sent by the user 407--is similar to 401, the user must first in the agent serviceThe client has been authorized (Proxy authentication Required) 408--clients did not complete the request within the time specified by the user (request Timeout) 409--The current resource state, the request could not be completed (Conflict) 410-- There is no longer this resource on the server and no further reference address (Gone) 411--the server rejects the user-defined Content-length property request (Length Required) 412--one or more request header fields are incorrect in the current request ( Precondition Failed) 413--The requested resource is greater than the server allowed size (Request Entity Too Large) 414--The requested resource URL is longer than the server allowed length (Request-uri Too Long) 415-- The request resource does not support the request Project format (Unsupported Media Type) 416--The request contains a range request header field, there is no range indicating value within the current request resource range, and the request does not contain a If-range request header field (requested Range not suitable) 417--server does not meet the expected value specified by the request Expect header field, if it is a proxy server, it may be that the next level server does not meet the request (expectation Failed) 500--The server generates an internal error ( Internal server Error) 501--servers do not support the requested function (not implemented) 502--server is temporarily unavailable, sometimes to prevent system overload (bad Gateway) 503--server overload or suspend maintenance ( Service Unavailable) 504--Gateway overload, the server uses another gateway or service to respond to the user, the waiting time setting value is longer (Gateway Timeout) 505--server does not support or reject the HTTP version specified in the Support Request header (HTTP Version not supported) 12029--an unknown error occurred while processing the request on the server. The status code returned from the server was:12029 (reason: Network is not known.)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.