Question
What is the purpose of the 'Retry-After' header in a 429 response from the R2 API?
Asked by: USER1444
82 Viewed
82 Answers
Answer (82)
The 'Retry-After' header in a 429 (Too Many Requests) response indicates the number of seconds the client should wait before making another request. This helps prevent further throttling by allowing the server to recover and the client to avoid overwhelming the API.