HTTP response status codes indicate whether a specific HTTP request has been successfully completed or not.
the http responses are grouped in five classes:
1. Informational responses (100 – 199)
A 1xx status code means that the server has received the request and is continuing the process. This code is purely temporary and is given while the request processing continues. For most tasks you won't encounter these much
The Informational responses include:
100 for Continue
101 for Switching protocols
102 for Processing
103 for Early Hints
2. Successful responses (200 – 299)
A 2xx Successful status code means that the request was successful and the browser has received the expected information.
The successful responses code include:
200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial Content
207 Multi-Status
208 Already Reported
3. Redirection messages (300 – 399)
A 3xx Redirection status code means that you have been redirected and the completion of the request requires further action
The Redirection messages codes include:
300 Multiple Choices
301 Moved Permanently
302 Found (Previously "Moved temporarily")
303 See Other
304 Not Modified
305 Use Proxy
306 Switch Proxy
307 Temporary Redirect
308 Permanent Redirect
4. Client error responses (400 – 499)
A 4xx Client Error status code means that the website or the page could not be reached, either the page is unavailable or the request contains bad syntax. As a developer you should do your best to avoid these type of errors
The Client error responses codes include:
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 Failed
413 Payload Too Large
414 URI Too Long
415 Unsupported Media Type
416 Range Not Satisfiable
417 Expectation Failed
418 I'm a Teapot
421 Misdirected Request
422 Unprocessable Entity
423 Locked
424 Failed Dependency
425 Too Early
426 Upgrade Required
428 Precondition Required
429 Too Many Requests
431 Request Header Fields Too Large
451 Unavailable For Legal Reasons
5. Server error responses (500 – 599)
A 5xx Server error status code means that while the request appears to be valid, the server could not complete the request. If you're experiencing 5xx server errors for your website, you should immediately look at your server.
The server error status code includes;
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
507 Insufficient Storage
508 Loop Detected
510 Not Extended
511 Network Authentication Required
Thank you for checking out this thread
follow for more content on web development
API stands for Application Programming Interface.
APIs are mechanisms that enable two software components to communicate with each other using a set of definitions and protocols.
API architecture is usually explained in terms of client and server. The application sending the request is called the client, and the application sending the response is called the server
Vercel is Introducing Turbopack: Rust-based successor to Webpack
Turbopack will be the Web’s next-generation bundler.
(Thread)
Webpack has become an integral part of building the Web, it has been downloaded more than 3 billion times.
Vercel, the company behind NextJS, mission is to provide the speed and reliability innovators need to create at the moment of inspiration and thus introducing Turbopack.
Led by the creator of Webpack, Tobias Koppers, Turbopack will be the Web’s next-generation bundler, it is built on a new incremental architecture for the fastest possible development experience