by Devin Yang
(This article was automatically translated.)

Published - 7 years ago ( Updated - 7 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


regular expression

Formal look behind (lookbehind)

Feel free to use Laravel's tinker to display the lookbehind function. He needs a fixed length. We can grab the text after the brackets. The original content is: How fast is the car moving? How far do you drive to work every day? Through the formal lookbehind, only look at the words after How fast and How far

dlaravel

How to set the external network IP to the Project on D-Laravel?

This video introduces how we assign Public Ip (public IP) to a specific Project in the D-Laravel environment. Whether it is the setting of the external production environment or the demo of your own project on the intranet, you can refer to the setting method of this video. In the video, although I used the external network IP of PPPoE dial-up to illustrate, we can also use the local network IP on our own computer if we change it. In this way, colleagues can connect to our D-Laravel Project.

openssl

How to remove PEM password

You can remove the cipher using the openssl rsa command. We pass in the SSL .key and get a .key file as output.