Http status code summary (javaWeb)

Overview:

The ones starting with 2 indicate that the server has received the browser (client) request (of course, there are many cases for subsequent processing). The ones starting with 3 indicate
that the resource is transferred. The browser (client) requests the
one starting with 5. The server (backend) mistake

1、200

successful request

2、201

succeeded and created a new resource

3、202

The request was received but not yet processed

4、204

The server processed successfully, but did not return any content. If the webpage is not updated, the browser displays the same content

5、301

The requested resource is permanently moved and the browser is automatically directed to the new URI

6、302

The requested resource is temporarily moved, and the browser continues to use the original URI

7、400

Request syntax error

8、401

The request requires user authentication

9、403

The server understands the client's request, but refuses to execute it (probably because the identity authentication has not passed)

10、404

Could not find resource or page

11、408

Request timed out

12、411

The request has no request information with Content-Length

13、415

The server cannot handle the media format attached to the request

14、500

internal server error

Guess you like

Origin blog.csdn.net/zhan_qian/article/details/127877308