collins Profile picture
Nov 27, 2022 16 tweets 3 min read Read on X
Introduction to HTTP response status codes.

Everyone has probably gotten the classic 404 page-not-found error. That is an HTTP client error status code and there are a lot more of them.

#HTTPS #webdevelopment #Web
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

#webdevelopment

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with collins

collins Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @tckiprotich

Oct 28, 2022
What is an API? - a beginners Guide
(Thread)
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
Read 13 tweets
Oct 28, 2022
Vercel is Introducing Turbopack: Rust-based successor to Webpack
Turbopack will be the Web’s next-generation bundler.

(Thread) Image
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
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(