HTTP return code

Source: Internet
Author: User

http return code 5 large class1xx reserved2xx indicates that the request was successfully received by3xx request further refinement of requests for completion of customer requests4xx Customer Error5xx Server Error 1xxreserved

Continueindicates that the client should continue the request. Loopback is used to notify the client that this request has been received and is not rejected by the server.
The client should continue to send the remaining request data, or the request has been completed, or the loopback data is ignored. The server must send
The final loopback is after the request.

101 Switching ProtocolsThe server changes the current connection application protocol according to the customer service request, through the upgrade header information. The server will immediately change the protocol based on the upgrade header
At the end of the 101 send-back with a blank line.

2XX Indicates the request was successfully received

OKindicates that the client's request has been successfully received, resolved, accepted.

201 Createdthe request is complete and a new return resource is created. The resource that is created may be a URI resource, usually a URI resource specified in the location header. Loopback should contain one entity data
It also contains resource attributes and location to select the appropriate method through the user or user agent. The Entity Data format specifies the Content-type head by the coal type. The first server
The specified resource must be created before the 201 status code is returned. If the behavior is not executed immediately, the server should return 202.

202 Accepted The request has been accepted for processing. But the processing did not complete. The request might or may not have been followed because the processing might have been rejected during the actual execution.

203 non-authoritative Information

The server has successfully processed the request, but the information returned may be from another source

204 No Contentthe server has accepted the request and does not need to return the Entity data, and may need to return the update information. The loopback may contain new or updated information that is rendered by entity-headers.

205 Reset ContentThe server has accepted the request and the user agent should reset the document view.

206 Partial Contentthe server has accepted the part of the request GET request resource. The request must contain a range header information to indicate that the fetch scope may have to contain the If-range header information to form the request condition.

3xx Request Further refinement of requests for completion of customer requests

multiple ChoicesThe request resource conforms to any one of the rendering methods.

301 Moved Permanentlythe requested resource has been assigned a new URI.

302 Founda temporary file that requests resources through different URIs.
303 See other

When a requester should use a separate GET request for a different location to retrieve the response, the server returns this code

304 Not ModifiedIf the client has completed a conditional request and the request is allowed, but the document does not change, the server should return a 304 status code. 304
The status code must not contain the information body, which usually ends with the first empty line after a header field.

305 Use Proxythe requested resource must be accessed through the proxy (specified by the Location field). The location resource gives the URI of the proxy.

306 Unused 307 Temporary Redirect

The server currently responds to the request from a different location, but the requestor should continue to use the original location for future requests

4xx Customer error

Requestthe server cannot understand the request information because of the incorrect syntax.

401 UnauthorizedIf the request requires user authentication. The loopback should contain a Www-authenticate header field that indicates the permission to request the resource.

402 Payment RequiredReserved Status Code

403 Forbiddenthe server accepts the request, but is denied processing.

404 Not FoundThe server has found any resources that match Request-uri.

405 Menthod not allowedRequest-line The requested method is not allowed through the specified URI.

406 Not acceptable

Unable to respond to the requested Web page using the requested content attribute

407 Proxy Authentication Required

This status code is similar to 401 (unauthorized), but specifies that the requestor should authorize the use of the proxy

408 reqeust Timeoutthe customer service side did not submit any requests within the server waiting time for processing.

409 Conflict

The server encountered a conflict while completing the request. The server must contain information about the conflict in the response

410 Gone

If the requested resource has been permanently deleted, the server returns this response

411 Length RequiredThe server refused to accept the request without defining the Content-length field.

412 Precondition Failed

The server does not meet one of the prerequisites set by the requestor in the request

413 Request Entity Too Largethe server refuses to process the request because the request data exceeds the scope that the server can handle. The server may close the current connection to prevent the client from continuing the request.

414 Request-uri Too LongServer denial of service current request because the length of the URI exceeds the resolution range of the server.

415 Unsupported Media Typethe server denies the service the current request because the request data format is not supported by the requested resource.

416 Request Range not satisfialbe

If the page cannot provide the requested range, the server returns this status code

417 Expectation Failed

The server does not meet the requirements for the "expected" Request header field

5xx Server error

Internal Server Errorserver encounters an exception that prevents execution of the current request

501 Not implementedthe server does not have a corresponding execution action to complete the current request.

502 Bad Gateway

The server received an invalid response from the upstream server as a gateway or proxy

503 Service UnavailableThe server cannot process the current request because of a temporary file overload.

504 Gateway Timeout

The server acts as a gateway or proxy but does not receive requests from the upstream server in a timely manner

505 Http Version not supported

The server does not support the HTTP protocol version used in the request


HTTP return code

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.