XMLHttpRequest Object Status and StatusText property comparison table

Source: Internet
Author: User
Tags comparison table

The The
XMLHttpRequest Object Status and StatusText property comparison table
Status StatusText Description
0** - has not been initiated
1** - request received, continue processing
100 Continue Customer must continue to make a request
101 Switching protocols Client requires server to convert HTTP protocol version on request
2** - successful operation received, analysis, acceptance
200 Ok Trading success
201 Created Prompt to know the URL of the new file
202 Accepted Accepted and processed, but processing not completed
203 Non-authoritative Information Return information is indeterminate or incomplete
204 No Content Request received, but return information is empty
205 Reset Content The server has completed the request and the user agent must reset the files that are currently viewed
206 Partial Content The server has completed a partial user get request
3** - completion of this request must be further processed
300 Multiple Choices The requested resource can be obtained in multiple places
301 Moved Permanently Delete request data
60W Found Request data found at other addresses
303 See other Advise customers to access other URLs or access methods
304 Not Modified The client has performed a get, but the file has not changed
305 Use Proxy The requested resource must be obtained from the address specified by the server
60S The code used in the previous version of HTTP is no longer used in the current version
60R Temporary Redirect Declare the requested resource to be temporarily deleted
4** -request contains an error syntax or cannot be completed
400 Bad Request Error requests, such as syntax errors
60s Unauthorized Request Authorization failed
402 Payment Required Retain valid Chargeto header response
403 Forbidden Request not allowed (due to a file or directory's permission settings on the server causing the resource to be unavailable)
404 Not Found No files, queries, or URLs found (the specified resource was not found)
405 Method not allowed The method defined by the user in the Request-line field does not allow
50W Not acceptable Request resource inaccessible based on accept drag sent by user
407 Proxy Authentication Required Like 401, the user must first be authorized on the proxy server
408 Request Timeout The client did not complete the request within the user-specified time of starvation
409 Conflict The request cannot be completed for the current resource state
410 Gone This resource is no longer available on the server and no further reference addresses
411 Length Required Server rejects user-defined Content-length property request
412 Precondition Failed One or more request header fields are wrong in the current request
413 Request Entity Too Large The requested resource is larger than the size allowed by the server
414 Request-uri Too Long The requested resource URL is longer than the length allowed by the server
415 Unsupported Media Type Requesting a resource does not support requesting an item format
416 Requested Range not suitable The request contains a range request header field that does not have a range indication value within the current request resource scope, and the request does not contain a If-range request header field
417 Expectation Failed The server does not meet the expectations specified by the request Expect header field, and if it is a proxy server, the next level of server may not satisfy the request
5** -server failed to perform a fully valid request
500 Internal Server Error Server generated Internal error
501 Not implemented The server does not support the requested function
40S Bad Gateway The server is temporarily unavailable, sometimes to prevent system overloads from occurring
503 Service unavailable Server overload or Pause repair
504 Gateway Timeout Pass overload, the server uses another gateway or service to respond to the user, the wait time setting value is longer
505 HTTP Version not supported The server does not support or deny the HTTP version specified in the request header
12029 An unknown error occurred when processing the request on the server. The status code returned from the server was:12029 Cause: The network is not through. Just refresh it and you'll know.

XMLHttpRequest Object Status and StatusText property comparison table

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.