What is the 'Retry-After' header in relation to a 503 error?

Responsive Ad Header

Question

Grade: Education Subject: Support
What is the 'Retry-After' header in relation to a 503 error?
Asked by:
60 Viewed 60 Answers
Responsive Ad After Question

Answer (60)

Best Answer
(311)
The 'Retry-After' HTTP header is often included with a 503 response. It tells the client (browser) how long to wait before attempting to retry the request. This can be a specific date/time or a number of seconds. Respecting this header can reduce unnecessary load on the server and improve the user experience.