Response Code

Response code consists of three decimal digits, which appear in the first line of the response sent by the HTTP server.
Five types of response code division, represented by their first digit:
1.1xx: information request is received, continue processing
2.2xx: success, was successfully accepted behavior, understanding and adoption
3.3xx: Redirect, in order to complete the request , further action must be performed
4.4xx: client error, a syntax error or request contains a request can not be achieved
5.5xx: server error, the server can not realize a significant invalid request

following table shows the response of each code and their meanings:

All HTTP status codes and their definitions. 
 Code indicates  

2xx Success  
200 normal; request has been completed.  
201 normal; immediately POST command.  
202 normal; has been accepted for processing, but the process has not been completed.  
203 normal; partial information - only part of the returned information.  
204 normal; no response - a request is received, the information to be sent back does not exist.  

3xx Redirection  
301 Moved - the data requested has a new location and the change is permanent.  
302 found - requesting a temporary data having different URI.  
303 See Other - response to the request may be found in another URI, and the response should be retrieved using a GET method.  
304 Not Modified - not behaving as expected to modify the document.  
305 Use proxy - requested resource must be accessed through the proxy provided in the location field.  
306 Not used - no longer used; this code reserved for future use.  

4xx client errors that occur  
400 Bad request - syntax problem in the request or can not satisfy the request.  
401 Unauthorized - Unauthorized access to client data.  
402 Payment required - indicate billing system has been effective.  
403 Forbidden - even if there is no need to authorize access.  
404 Not Found - server could not find the given resource; the document does not exist.  
407 Proxy Authentication Request - client must first authenticate itself using a proxy.  
415 Unsupported Media Type - the service request is rejected by the server, because the entity does not support the request format.  

5xx server error that appears in  
500 internal error - because of unforeseen circumstances, the server can not fulfill the request.  
501 Not Implemented - The server does not support the request tool.  
502 Bad Gateway - server received an invalid response from the upstream server.  
503 service unavailable - due to a temporary overloading or maintenance of the server to process the request.
-------------------------------------------------- -------------------------------------------------- -------------------
HTTP 400 - Bad request 
HTTP 401.1 - unauthorized: logon failed 
HTTP 401.2 - unauthorized: logon failed due to server configuration problems 
HTTP 401.3 - ACL prohibit access resources 
HTTP 401.4 - unauthorized: authorization is filters to refuse 
HTTP 401.5 - unauthorized: ISAPI or CGI authorized failure  
HTTP 403 - Forbidden 
HTTP 403 - access to Internet service Manager (HTML) is restricted to Localhost 
HTTP 403.1 Forbidden: prohibition executable visit 
HTTP 403.2 - Forbidden: read access is prohibited 
HTTP 403.3 - Forbidden: write disabled access 
HTTP 403.4 - Forbidden: requires SSL 
HTTP 403.5 - Forbidden: SSL 128 required 
HTTP 403.6 - Forbidden: IP address rejected 
HTTP 403.7 - Forbidden: Client certificate required 
HTTP 403.8 - Forbidden: Site Access prohibited 
HTTP 403.9 - Forbidden: Too many users are connected 
HTTP 403.10 - Forbidden: Configuration invalid 
HTTP 403.11 - Forbidden: password change 
HTTP 403.12 - Forbidden: mapper denied access to 
HTTP 403.13 - Forbidden: client certificate has been revoked 
HTTP 403.15 - Forbidden: client access Licenses excessive 
HTTP 403.16 - Forbidden: client certificate untrusted or invalid 
HTTP 403.17 - forbidden: client certificate has expired or is not yet valid 
HTTP 404.1 - Web site can not be found 
HTTP 404 - file not found 
HTTP 405 - resource prohibited 
HTTP 406 - can not accept 
HTTP 407 - proxy authentication required 
HTTP 410 - forever unavailable 
HTTP 412 - a prerequisite for failure 
HTTP 414 - request - URI is too long 
HTTP 500 - internal server error 
HTTP 500.100 - internal server error - ASP error 
HTTP 500-11 server to shut down 
HTTP 500-12 application restart 
HTTP 500-13 - Server too busy 
HTTP 500-14 - application invalid 
HTTP 500-15 - not allowed to request Global.asa 
Error 501 - unimplemented 
HTTP 502 - Gateway Error

Guess you like

Origin www.cnblogs.com/Horne/p/10980926.html