Booklet

author

Hack University

IT & Software

HTTP Status Codes Explained

HTTP Status Codes Explained

What are HTTP status codes?

HTTP means HyperText Transfer Protocol. HTTP is the underlying protocol used by the World Wide Web and this protocol defines how messages are formatted and transmitted, and what actions web servers and browsers should take in response to various commands.

The HTTPS response codes help indicate whether a specific HTTP request has been successfully completed.

Example: Every time we visit a website, we are sending an HTTP request to a web server that responds with an HTTP response code plus data for us to interact with.

The status codes are grouped into 5 classes:

1. Informational Responses (100 - 199)

2. Successful responses (200 - 299)

3. Redirects (300 - 399)

4. Client errors (400 - 499)

5. Server errors (500 - 599)

1. Informational responses (100 - 199)

100 Continue

101 Switching Protocol

102 Processing (WebDAV)

2. Successful responses (200 - 299)

200 OK

201 Created

202 Accepted

203 Non-Authoritative Info

204 No Content

205 Reset Content

206 Partial Content

207 Multi-Status (WebDAV)

208 Already Reported (WebDAV)

226 IM Used

3. Redirects (300 - 399)

300 Multiple Choices

301 Moved Permanently

302 Found

303 See Other

304 Not Modified

305 Use Proxy

306 (Unused)

307 Temporary Redirect

308 Permanent Redirect (experimental)

4. Client errors (400 - 499)

400 Bad Request

401 Unauthorized

402 Payment Required

403 Forbidden

404 Not Found

405 Method Not Allowed

406 Not Acceptable

407 Proxy Authentication Required

408 Request Timeout

409 Conflict

410 Gone

411 Length Required

412 Precondition Required

413 Request Entity Too Large

414 Request -URI Too Long

415 Unsupported Media Type

416 Requested Range Not Satisfiable

Client errors (400 - 499) continued

417 Expectation Failed

418 I'm A Teapot (RFC2324)

420 Enhance Your Calm (Twitter)

422 Unprocessable Entity (WebDAV)

423 Failed Dependency (WebDAV)

424 Failed Dependency (WebDAV)

425 Reserved for WebDAV

426 Upgrade Required

428 Precondition Required

429 Too Many Requests

431 Request Header Fields Too Large

444 No Response (Nginx)

449 Retry With (Microsoft)

450 Blocked By Windows Parental Controls (Microsoft)

451 Unavailable For Legal Reasons

499 Client Closed Request (Nginx)

5. Server Errors (500 - 599)

500 Internal Server Error

501 Not Implemented

502 Bad Gateway

503 Service Unavailable

504 Gateway Timeout

505 HTTP Version Not Supported

506 Variant Also Negotiates (experimental)

507 Insufficient Storage (WebDAV)

508 Loop Detected (WebDAV)

509 Bandwidth Limit Exceeded (Apache)

510 Not Extended

511 Network Authentication Required

598 Network Read Timeout Error

599 Network Connect Timeout Error

Join our tech and design community! @hackuniversity

More booklets by Hack University

More IT & Software booklets

Your recently viewed booklets

  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
See all booklets