HTTP status code in response to finishing

1xx: information

100 Continue
server receives only part of the request, but if the server does not reject the request, the client should continue to send the remaining requests.
101 Switching Protocols
server transfer protocol: The server converts a protocol to another to comply with customers' requests.



2xx: Success

200 OK
request succeeded (followed by the response to the document GET and POST requests)
201 the Created
request has been created, and a new resource is created.
202 Accepted
for processing the request has been accepted, but the process is not completed.
203 Non-authoritative Information
documents have been returned normally, but some of the response headers might be incorrect, because the use of a copy of the document.
204 No Content
No new document. The browser should continue to display the original document. If you regularly refresh the page, and new user documentation can be determined Servlet enough, this status code is very useful.
205 Reset Content
No new document. But browser should reset the content it displays. To force the browser to clear the form input.
206 Partial Content
client sends a GET request with a Range header, the server completes it.



3xx: Redirection

300 Multiple Choices
multiple choice. List of links. The user can select a link destination. It allows up to five addresses.
301 Moved Permanently
The requested page has moved to a new url.
302 Moved Temporarily
The requested page has been temporarily transferred to a new url.
303 See Other
The requested page can be found under other url.
304 Not Modified
fails to expected changes in the document. Client has cached document and sends a request condition of (typically provided If-Modified-Since header indicates that the client document just newer than the date specified). Server told clients that the original document buffer can continue to use.
305 Use Proxy
Requested document should proxy server specified in the Location header extracted through.
306 Unused
This code is for a previous version. It is no longer used, but the code is still retained.
307 Temporary Redirect
requested page has been temporarily moved to a new url.



4xx: Client Error

400 Bad Request
Server failed to understand the request.
401 Unauthorized
requested page requires a user name and password.
401.1
Logon failed.
401.2
due to server configuration login fails.
401.3
due to ACL on resource without authorization.
401.4
Authorization failed by filter.
401.5
ISAPI / CGI application authorization failure.
401.7
Access denied URL authorization policy on the Web server. This error code is specific to IIS 6.0.
402 Payment Required
This code is not available.
403 Forbidden
access to the requested page is forbidden.
403.1
Execute access forbidden.
403.2
read access is prohibited.
403.3
Write access forbidden.
403.4
require SSL.
403.5
required SSL 128.
403.6
IP address rejected.
403.7
Client certificate required.
403.8
Site access denied.
403.9
excessive number of users.
403.10
invalid configuration.
403.11
password change.
403.12
Access Denied Map.
403.13
client certificate revoked.
403.14
Directory Listing Denied.
403.15
exceed client access licenses.
403.16
Client certificate untrusted or invalid.
403.17
Client certificate has expired or is not yet valid.
403.18
can not perform the requested URL in the current application pool. This error code is specific to IIS 6.0.
403.19
not execute CGI applications for the client in this pool. This error code is specific to IIS 6.0.
403.20
Passport login failed. This error code is specific to IIS 6.0.
404 Not Found
The server can not find the requested page.
404.0
does not find the file or directory.
404.1
Web site not accessible on the requested port.
404.2
Web service extension lockdown policy prevents this request.
404.3
MIME map policy prevents this request.
405 Method Not Allowed
The method specified in the request is not allowed.
406 Not Acceptable
response generated by the server can not be accepted by the client.
407 Proxy Authentication Required
user must first use a proxy server for authentication, so that the request will be processed.
408 Request Timeout
request exceeds the waiting time server.
409 Conflict
due to the conflict, request can not be completed.
410 Gone
requested page is not available.
411 Length Required
"Content-Length" is not defined. If no such content, the server will not accept the request.
412 Precondition Failed
prerequisites request is evaluated as failed server.
413 Request Entity Too Large
Since much of the requested entity, the server will not accept the request.
414 Request-url Too Long
because the url is too long, the server does not accept the request. When the request is converted to a post with a long query information get request, this situation occurs.
415 Unsupported Media Type
As the media type is not supported, the server will not accept the request.
416 Requested Range Not Satisfiable
server can not meet customer specified in the request Range header.
417 Expectation Failed
execution failed.
423
Locked error.



5xx: Server Error

500 Internal Server Error
request was not completed. The server encountered unforeseen circumstances.
500.12
Application is busy restarting on the Web server.
500.13
Web server is too busy.
500.15
does not allow direct request Global.asa.
500.16
UNC authorization credentials incorrect. This error code is specific to IIS 6.0.
500.18
the URL of authorization store can not be opened. This error code is specific to IIS 6.0.
500.100
Internal ASP error.
501 Not Implemented
request was not completed. Server does not support the requested function.
502 Bad Gateway
request was not completed. Server received an invalid response from the upstream server.
502.1
CGI application timeout. ·
502.2
CGI application error.
503 Service Unavailable
request was not completed. Temporary overloading or server crash.
504 Gateway Timeout
Gateway timeout.
505 HTTP Version Not Supported
server HTTP protocol version specified in the request is not supported
----------------
Disclaimer: This article is the original article CSDN bloggers "sub-human food", following the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/sinat_35360663/article/details/78455588

Guess you like

Origin www.cnblogs.com/lyxcode/p/11546707.html