DELAPARRA
Index
Color
NL
Category: HTTP headers

Retry-After

Explained by Updated

What is Retry-After?

Retry-After: How long to wait before retrying. Sent with 429 (rate limit) or 503 (service unavailable). Retry-After tells a client how long to wait before trying again, either as a number of seconds or as a date. It is sent with 429 Too Many Requests and 503 Service Unavailable. Retry-After: 120 means wait two minutes. Well-behaved clients respect it instead of retrying immediately and making the overload worse.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Retry-After

What should you keep in mind with Retry-After?

When you build an API client, read this header and wait accordingly, and add exponential backoff when it is missing. When you build an API, send it with rate-limit responses so clients know exactly when to come back. During planned maintenance, a 503 with Retry-After also tells search engine crawlers that the outage is temporary and they should return later.

What does an example of Retry-After look like?

Retry-After: 120

At a glance

CategoryHTTP headers
Explained by
Updated

More HTTP headers terms

All terms starting with R

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.