Internet users who have dug a little deeper into the terminology of the Web (at least most of them) know what HTTP is. This data transfer protocol allows users to interact with web resources through a browser. One of the functions of the protocol is the ability to return special codes that give users information about the status of the website or the status of a particular task. This also includes HTTP error codes. Error codes are divided into two types: client errors and server errors. We will talk about these two categories and other useful, and most importantly, frequently encountered codes in this article.
HTTP client errors
, 4xx. - , , .
, 40:
- 400. – . , . .
- 401. – , HTTP- . . .
- 402. – , . . , 402 Apple Google, -.
- 403. – , , , . .
- 404. Not Found (/ ) – . , - -. .
- 405. – HTTP, POST PUT. , GET , .
- 406. – , Accept. , , .
- 407. - – -.
- 408. – . , , .
- 409. – HTTP? -, . , , , - .
41
- 410. – , , .
- 412. – , ().
- 413. – , , .
- 414. – , , URL, , . , GET POST.
- 415. – , ( ).
- 417. – EXPECT.
- 418 I’m a teapot – 1998 , .
42
- 422. – , ; , , ( ), - , .
- 423. – . .
- 424. – , , , .
- 425. – , () .
- 426. – , . .
- 428. – , -.
- 429. – , , DDoS-, .
- 431. – , .
- 434. – .
- 449. – , .
- 451. – , .
- , HTTP-, , .
HTTP–
, . 5 .
50
- 500 Internal Server Error – HTTP-, . , .
- 501. Not Implemented ( ) – , . , HTTP.
- 502. Bad Gateway ( ) – , , , «» .
- 503. Service Unavailable ( ) – , .
- 504. Gateway Timeout ( ) – , , , «» .
- 505. HTTP Version Not Supported ( ) – , .
- 507. Insufficiente Storage ( ) – . .
51
- 510. Not Extended ( ) – , , .
- 511. Network Authentication Required ( ) – , , Wi-Fi.
- 100. Continue () – , , .
- 101. Switching Protocols ( ) – , .
- 102. Processing ( ) – , , , .
- 300. Multiple Choices () – , , . . , , .
- 301. Moved Permanently ( ) – , .
- 302. Found ( ) – , .
- 303. See Other ( ) – Location, , GET.
- 304. Not Modified ( ) – , , , - .
- 305. Use Proxy ( -) – , , , -. Location. ( ).
- 307. Temporary Redirect ( ) – , . .