HTTP common error response code

Source: Internet
Author: User
Tags unsupported ftp client

What does HTTP return 302 mean ???

The exploration records are as follows:


HTTP return status code

When a user attempts to access content on a running host through HTTP or FTP, the web server returns a digital code indicating the status of the request. This status code is recorded in server logs and may also be displayed in a web browser or an FTP client. That is, the error code displayed by the browser when an error occurs when the page is opened. The status code can indicate whether the request is successful or not, and reveal the exact cause of the Request failure.

HTTP status codes are mainly divided into five types:
1 × Reserved
2×× indicates that the request is successfully received.
3×× further refine the request to complete the request
4×× customer Error
5×× Server Error

100 continue
Indicates that the client should continue the request. Send back is used to notify the client that the request has been received and has not been rejected by the server.
The client should continue to send the remaining request data or the request has been completed, or ignore the return data. The server must send
The final response is after the request.

101 switching protocols
The server changes the application protocol of the current connection through the upgrade header according to the client request. The server immediately changes the protocol according to the upgrade header.
When 101 is sent back to an empty row.

200 OK
Instruct the customer service to successfully receive, parse, and accept the request.

201 created
The request has been completed and a new returned resource is created. The created resource may be a URI resource, which is usually specified in the location header. Delivery should contain an object data
It also includes resource features and location. You can use the user or user agent to select an appropriate method. The object data format is specified by the coal type, that is, the Content-Type header. Start Server
The specified resource must be created before the 201 status code is returned. If the behavior is not immediately executed, the server should return 202.

202 accepted
The request has been accepted for processing. However, the process is not completed. The request may or may not be followed because the request may be rejected during actual execution.

203 non-authoritative information
Not authoritative information.
204 NO content
The server has accepted the request and does not need to return the Entity Data. It may need to return the update information. The delivery may contain new or updated information presented by entity-headers.

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

206 partial content
The part of the resource that the server has accepted the GET request. The request must contain a range header to indicate that the obtained range may contain if-range header information to establish a request condition.

300 multiple choices
The requested resource meets any rendering method.

301 moved permanently
The requested resource has been assigned a new Uri.

302 found
Request temporary files of resources through different Uris.
303 see other

304 not modified
If the client has completed a qualified request and the request is allowed, but this document has not changed, the server should return a 304 status code. 304
The status code must not contain the information body. Therefore, it usually ends with the first blank line after a header field.

305 use proxy
The requested resource must be accessed through a proxy (specified by the location field. The Location Resource provides the proxy Uri.

306 unused

307 temporary redirect
Temporary redirection.
Client Error
400 bad request
The server cannot understand the request information due to incorrect syntax.

401 unauthorized
If the request requires user authentication. The return request should contain a WWW-Authenticate header field to specify the permission to request resources.

402 payment required
Retention status code.

403 Forbidden

The server rejects the request.

404 not found
The server has found any resource that matches the request-Uri.

405 menthod not allowed
The request-line method is not allowed to use the specified Uri.

406 not acceptable
The client browser does not accept the MIME type of the requested page.
407 proxy authentication required
Proxy authentication is required.
408 reqeust timeout
The client does not submit any requests within the waiting time of the server.

409 conflict

410 gone

411 length required
The server rejects the request if the Content-Length field is not defined.

412 precondition failed
Precondition failed.
413 Request Entity too large
The server rejects the request because the request data exceeds the scope that the server can process. The server may close the current connection to prevent the client from continuing the request.

414 request-URI Too Long
The server rejects the current request because the URI length exceeds the resolution range of the server.

415 unsupported media type
The server rejects the service because the request data format is not supported by the requested resource.

416 request range not satisfialbe
The requested range cannot be met.
417 expectation failed
Execution failed.
Server Error

500 Internal Server Error
The server encountered an exception and blocked the execution of the current request.

501 not implemented
The server does not have an action to complete the current request.

502 Bad Gateway
When the Web server is used as a gateway or proxy server, it receives an invalid response.
503 service unavailable
The server cannot process the current request because the temporary file is overloaded.

504 gateway timeout
Gateway Access timeout.
505 HTTP Version Not Supported
The HTTP version is not supported.

"100" : Continue
"101" : witching Protocols
"200" : OK
"201" : Created
"202" : Accepted
"203" : Non-Authoritative Information
"204" : No Content
"205" : Reset Content
"206" : Partial Content
"300" : Multiple Choices
"301" : Moved Permanently
"302" : Found
"303" : See Other
"304" : Not Modified
"305" : Use Proxy
"307" : Temporary Redirect
"400" : Bad Request
"401" : Unauthorized
"402" : Payment Required
"403" : Forbidden
"404" : Not Found
"405" : Method Not Allowed
"406" : Not Acceptable
"407" : Proxy Authentication Required
"408" : Request Time-out
"409" : Conflict
"410" : Gone
"411" : Length Required
"412" : Precondition Failed
"413" : Request Entity Too Large
"414" : Request-URI Too Large
"415" : Unsupported Media Type
"416" : Requested range not satisfiable
"417" : Expectation Failed
"500" : Internal Server Error
"501" : Not Implemented
"502" : Bad Gateway
"503" : Service Unavailable
"504" : Gateway Time-out
"505" : HTTP Version not supported

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: 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.