In a scenario where a server is temporarily unable to handle requests, what HTTP status code should it return?

  • 302
  • 404
  • 500
  • 503
When a server is temporarily unable to handle requests due to overloading or maintenance, it should return a 503 (Service Unavailable) status code. This informs clients that the server is temporarily unable to process the request and suggests trying again later. A 404 status code indicates that the requested resource is not found, and 302 is a temporary redirect. A 500 status code is a generic server error.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *