Retry-After response HTTP header indicates how long the user agent should wait before making a follow-up request. There are three main cases this header is used:
503(Service Unavailable) response, this indicates how long the service is expected to be unavailable.
429(Too Many Requests) response, this indicates how long to wait before making a new request.
301(Moved Permanently), this indicates the minimum time that the user agent is asked to wait before issuing the redirected request.
Retry-After: <http-date> Retry-After: <delay-seconds>
Dateheader for more details on the HTTP date format.
Support for the
Retry-After header on both clients and servers is still inconsistent. However, some crawlers and spiders, like the Googlebot, honor the
Retry-After header. It is useful to send it along with a
503 (Service Unavailable) response, so that search engines will keep indexing your site when the downtime is over.
Retry-After: Wed, 21 Oct 2015 07:28:00 GMT Retry-After: 120
|RFC 7231, section 7.1.3: Retry-After||Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content|
|Basic support||?||Yes|| No
|Android webview||Chrome for Android||Edge Mobile||Firefox for Android||Opera for Android||iOS Safari||Samsung Internet|
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.