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


laravel

After upgrading Laravel 8.8, I integrated the articles and notes together

Laravel 8 has undergone major revisions, and my website has also been revised accordingly. The "notes" and "articles" on my website were originally separated into two blocks. This time I integrated him together. Anyway, there are not many articles, and the combined content seems to be more. :p

Raspberry

Raspberry plays midi files

Raspberry play midi music

A little research about LineBot

There is an official EchoBot Sample with a Slim framework. After downloading, you can use composer to try it directly. After looking at the Slim code, it is not difficult to transfer to Laravel. It took less than half a day to convert him into a Laravel Project. Then through Excelify on my GitHub, I converted about 160,000 Excel dictionary file data into SQL Insert syntax, into the database. What are the restrictions and precautions for Line Bot? This article is the result of my own test.