From 167aa59bce34dd6025fb7ccf27d6718e7a1cfe16 Mon Sep 17 00:00:00 2001 From: Mattia Date: Wed, 8 Jan 2020 20:11:27 +0000 Subject: [PATCH] Documentation fix Fixes https://github.com/lostisland/faraday/pull/773#issuecomment-571089608 --- docs/middleware/request/retry.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/middleware/request/retry.md b/docs/middleware/request/retry.md index 4d5396fad..9ea232594 100644 --- a/docs/middleware/request/retry.md +++ b/docs/middleware/request/retry.md @@ -16,6 +16,7 @@ or server errors (such as network hiccups). By default, it retries 2 times and handles only timeout exceptions. It can be configured with an arbitrary number of retries, a list of exceptions to handle, a retry interval, a percentage of randomness to add to the retry interval, and a backoff factor. +The middleware also handles the `Retry-After` header automatically. ### Example Usage @@ -110,4 +111,4 @@ retry_options = { ``` -[raise_error]: ../middleware/raise-error \ No newline at end of file +[raise_error]: ../middleware/raise-error