HTTP status codes convey the outcome of a request. The 2xx class means success, 3xx redirection, 4xx a client-side issue, and 5xx a server-side issue.
The demo routes one request to four possible outcomes. Before retrying, consider the method semantics and the actual cause, not just the status class.
When to use
Use status classes to design client error handling, redirects, and retry policies.