HTTP protocol (vi)---status code

Source: Internet
Author: User
Tags unsupported

Status code

201-206 indicates that the server successfully processed the status code of the request, stating that the Web page can be accessed normally.

a successful server has successfully processed the request. Typically, this indicates that the server provided the requested Web page.

201(created) the request was successful and the server has created a new resource.

202(accepted) the server has accepted the request, but it has not been processed.

The 203(non-authoritative information) server successfully processed the request, but returned information that might have come from another source.

the 204 (no content) server successfully processed the request, but did not return any content.

the 205 (reset content) server successfully processed the request, but did not return any content. Unlike the 204 Response, this response requires the requestor to reset the document view

(for example, clear the form contents to enter new content).

the 206 (partial content) server successfully processed a partial GET request.

300-307 means : To complete the request, you need to proceed further. Typically, these status codes are always redirected.

multiple Options The server can perform a variety of actions based on the request. The server can select an action based on the requestor, or provide a list of actions for its

Choose.

301(permanently moved) The requested page has been permanently moved to the new location. When the server returns this response, the requestor is automatically forwarded to the new location. You should make

Use this code to inform the search engine that the spider Web page or website has been permanently moved to a new location.

The 302(temporary Move) server is currently responding to requests from Web pages in different locations, but the requestor should continue to use the original location for future requests. Will be

Automatically transfers the requestor to a different location. However, because the search engine will continue to crawl the original location and index it, you should not use this code to tell the search cited

The page or website has been moved.

303(View other locations) The server returns this code when the requestor should make a separate GET request for a different location to retrieve the response. For all but

all requests other than the HEAD request, the server will automatically go to a different location.

304(not modified) The requested webpage has not been modified since the last request. When the server returns this response, the Web page content is not returned.

If the page has not changed since the requestor last requested it, you should configure the server to return this response. Because the server can tell the search engine

The Web page has not been changed since the last crawl, thus saving bandwidth and overhead.

305(using proxies) the requestor can only use the proxy to access the requested Web page. If the server returns this response, the server also indicates that the requestor should

When using the proxy.

The 307(temporary redirection) server is currently responding to requests from Web pages in different locations, but the requestor should continue to use the original location for future requests.

The requestor is automatically transferred to a different location. However, because the search engine will continue to crawl the original location and index it, you should not use this code to tell the search

Engine a page or Web site has been moved.

A 4XXHTTP status code indicates a possible error in the request and interferes with the server's processing.

the (Error request) server does not understand the syntax of the request.

401(authentication error) this page requires authorization. You may not want to include this page in the index.

402 Payment Required reserved Status code

403(Forbidden) The server rejects the request.

404(not found) The requested webpage was not found by the server. For example, this code is often returned for Web pages that do not exist on the server.

For example:http://www.0631abc.com/20100aaaa, will enter the 404 error page

405(method Disabled) Disables the method specified in the request.

406(not accepted) cannot use the requested content attribute to respond to the requested Web page.

407(requires proxy authorization) This status code is similar to 401, but specifies that the requestor must authorize the use of the proxy. If the server returns this response, it also indicates that you

Agent should be used by the person who asks.

408(Request timed out) A timeout occurred while the server was waiting for a request.

the 409 (conflict) server has a conflict when the request is completed. The server must include information about the conflict in the response. The server responds with the previous one please

Conflict-Seeking This code may be returned with a PUT request, as well as a list of differences of two requests.

Theserver returns this response after 410 (deleted) The requested resource is permanently deleted. This code is similar to the 404(not found) code, but before the resource is saved

in the case where it does not exist, it is sometimes used to replace the 404 Code. If the resource has been permanently deleted, you should use 301 to Specify a new location for the resource.

411(requires valid length) The server does not accept requests that do not contain a valid Content-Length header field.

412(precondition not met) the server does not meet one of the prerequisites set by the requestor in the request.

413(Request entity is too large) the server cannot process the request because the request entity is too large to exceed the processing power of the server.

414(The requested URI is too long) The requested URI(usually the URL) is too long for the server to process.

415(Unsupported media type) The requested format is not supported by the requested page.

416(Request scope not compliant) if the page cannot provide the requested range, the server returns this status code.

417(unmet expectations) the server did not meet the requirements for the " expected " request header field.

Up to 505 means that the server has an internal error while trying to process the request. These errors can be errors on the server itself, and

is not a request error.

(Server internal error) the server encountered an error and could not complete the request.

501(not yet implemented) the server does not have the capability to complete the request. For example, when the server does not recognize the request method, the server may return

Back to this code.

The 502(Error Gateway) server received an invalid response from the upstream server as a gateway or proxy.

503(Service Unavailable) cannot currently use the server (due to overloading or downtime maintenance). Usually, this is just a temporary state.

the 504 (Gateway Timeout) server acts as a gateway or proxy and does not receive requests from the upstream server in a timely manner.

505(http version not supported) the HTTP protocol version used in the request is not supported by the server .

Http status code/http response status Code

Continue

Indicates 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 protocols

Server according to customer service request, through Upgrade header information, change the currently connected Application protocol. The server will immediately change the protocol based on the Upgrade Header

at The end of the 101 loopback with a blank line.

Successful

=================================

OK

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

201 Created

the 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 be package

Contains one Entity data

It also contains resource attributes and location to select the appropriate method through the user or user agent. Entity data format specified as content-by coal type

The type header. 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

204 No Content

the server has accepted the request and does not need to return the Entity data, and may need to return the update information. Loopback may contain new or updated information that is presented by entity-headers

Is.

205 Reset Content

The server has accepted the request and the user agent should reset the document view.

206 Partial Content

The server has accepted the request the part of the 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

Request conditions.

Redirection

==================================

Multiple Choices

The request resource conforms to any one of the rendering methods.

301 Moved Permanently

the requested resource has been assigned a new URI.

302 Found

through the different the URI requests a temporary file for the resource.

303 See other

304 Not Modified

If the client has completed a conditional request and the request is allowed, but the document does not change, the server should return the 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 Proxy

the requested resource must pass the proxy (by the Location field specified) to access. The location resource gives the URIof the proxy.

306 Unused

307 Temporary Redirect

Client Error

=====================

Request

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

401 Unauthorized

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

402 Payment Required

Reserved status code

403 Forbidden

The server accepts the request, but is denied processing.

404 Not Found

the server did not find any matches Request-uri 's resources.

405 Menthod not allowed

Request-line the requested method is not allowed through the specified URI.

406 Not acceptable

407 Proxy Authentication Required

408 Reqeust Timeout

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

409 Conflict

410 Gone

411 Length Required

the server refused to accept the request without a definition The Content-length field is in the case.

412 Precondition Failed

413 Request Entity Too Large

The 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 Long

Server denial of service current request because The length of the URI exceeds the parsing range of the server.

415 Unsupported Media Type

The server denies the service the current request because the request data format is not supported by the requested resource.

416 Request Range Not satisfialbe

417 Expectation Failed

Server Error

===================================

Internal Server Error

Server encounters an exception that prevents execution of the current request

501 Not implemented

The server does not have a corresponding execution action to complete the current request.

502 Bad Gateway

503 Service Unavailable

The server cannot process the current request because of a temporary file overload.

504 Gateway Timeout

505 Http Version not supported

-------------------------------------------------

http://status-code.com/

Continue

101 Switching protocols

102 Processing

OK

201 Created

202 Accepted

203 non-authoritative Information

204 No Content

205 Reset Content

206 Partial Content

207 Multi-Status

226 IM used

Multiple Choices

301 Moved Permanently

302 Found

303 See other

304 Not Modified

305 Use Proxy

306 (Unused)

307 Temporary Redirect

Request

401 Unauthorized

402 Payment Required

403 Forbidden

404 Not Found

405 Method not allowed

406 Not acceptable

407 Proxy Authentication Required

408 Request Timeout

409 Conflict

410 Gone

411 Length Required

412 Precondition Failed

413 Request Entity Too Large

414 Request-uri Too Long

415 Unsupported Media Type

416 Requested Range not satisfiable

417 Expectation Failed

418 I ' m a teapot

422 Unprocessable Entity

423 Locked

424 Failed Dependency

425 (Unordered Collection)

426 Upgrade Required

Internal Server Error

501 Not implemented

502 Bad Gateway

503 Service Unavailable

504 Gateway Timeout

505 HTTP Version not supported

506 Variant Also negotiates

507 Insufficient Storage

510 Not Extended

HTTP protocol (vi)---status 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.