Skip to content

Commit

Permalink
Fix Retry-After header typo in docs (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaroschipper authored Sep 2, 2024
1 parent 74d2a06 commit fb92cb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/req.ex
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ defmodule Req do
* `false` - don't retry.
* `:retry_delay` - if not set, which is the default, the retry delay is determined by
the value of `retry-delay` header on HTTP 429/503 responses. If the header is not set,
the value of the `Retry-After` header on HTTP 429/503 responses. If the header is not set,
the default delay follows a simple exponential backoff: 1s, 2s, 4s, 8s, ...
`:retry_delay` can be set to a function that receives the retry count (starting at 0)
Expand Down
2 changes: 1 addition & 1 deletion lib/req/steps.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1935,7 +1935,7 @@ defmodule Req.Steps do
* `false` - don't retry.
* `:retry_delay` - if not set, which is the default, the retry delay is determined by
the value of `retry-delay` header on HTTP 429/503 responses. If the header is not set,
the value of the `Retry-After` header on HTTP 429/503 responses. If the header is not set,
the default delay follows a simple exponential backoff: 1s, 2s, 4s, 8s, ...
`:retry_delay` can be set to a function that receives the retry count (starting at 0)
Expand Down

0 comments on commit fb92cb5

Please sign in to comment.