by Devin Yang
(This article was automatically translated.)

Published - 6 years ago ( Updated - 6 years ago )

1xx message

This type of status code means that the request has been accepted and needs to be processed. This type of response is a provisional response, containing only a status line and some optional response header information, and ends with a blank line. Since no 1xx status code is defined in the HTTP/1.0 protocol, the server is prohibited from sending 1xx responses to such clients except under certain experimental conditions.

2xx success

This type of status code means that the request has been successfully received, understood, and accepted by the server.
3xx redirect
These status codes indicate that further action by the client is required to complete the request. Usually, these status codes are used for redirection, and the subsequent request address (redirection target) is specified in the Location field of this response.

4xx client error

Status codes such as
indicate that what appears to be an error on the client side is preventing the server from processing. Unless the response is a HEAD request, the server should return an entity explaining the current error condition, and whether this is a temporary or permanent condition. These status codes apply to any request method. The browser SHOULD display to the user any physical content contained in such error responses.

5xx server error

indicates that the server was unable to fulfill an obviously valid request. This type of status code means that the server has an error or an abnormal state in the process of processing the request, or it may be that the server realizes that the processing of the request cannot be completed with the current software and hardware resources. Unless this is a HEAD request, the server SHOULD include an EXPLAIN_INFO entity explaining the current error state and whether the condition is temporary or permanent. The browser SHOULD display to the user any entities contained in the current response. These status codes apply to any response method.

Please check the Wiki for details
https://zh.wikipedia.org/zh-tw/HTTP status code

Tags:

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


nginx,dlaravel

How to configure HTTPS on nginx to get an SSL A+ score from Qualys

This article describes how to adjust the ssl settings of nginx so that the website can obtain an SSL report and get an A+ rating. Here I am using letsencrypt free credentials. As long as you use the official Docker nginx new version image preset by D-Laravel, you should be able to achieve the same effect as mine. You can check your host SSL settings through the following. https://www.ssllabs.com/ssltest/index.html

git

Remove the git remote or local tag

How to delete the Tag on the remote or local end of git.

docker

D-Laravel on .env and docker-compsoe small classroom

This article introduces why the docker-compose ps official command cannot list all the services in use when we use D-Laravel's .env to load multiple yml files. But the ./console ps on D-Laravel can indeed display normally, so how can the official docker-compose command be used to have the same effect?