@@ -8,7 +8,7 @@ code in the 5xx server error range. Since version 2.0, responses with status
88codes in the 5xx range are also retried. Each retry attempt is delayed by an
99exponential backoff time.
1010
11- See below for how to configure that behaviour .
11+ See below for how to configure that behavior .
1212
1313.. warning ::
1414
@@ -32,22 +32,22 @@ Options
3232
3333Number of retry attempts to make before giving up.
3434
35- ``error_response_decider ``: callable (default behaviour : retry if status code is in 5xx range)
35+ ``error_response_decider ``: callable (default behavior : retry if status code is in 5xx range)
3636
3737A callback function that receives the request and response to decide whether the
3838request should be retried.
3939
40- ``exception_decider ``: callable (default behaviour : retry if the exception is not an HttpException or status code is in 5xx range)
40+ ``exception_decider ``: callable (default behavior : retry if the exception is not an HttpException or status code is in 5xx range)
4141
4242A callback function that receives a request and an exception to decide after a
4343failure whether the request should be retried.
4444
45- ``error_response_delay ``: callable (default behaviour : exponential backoff)
45+ ``error_response_delay ``: callable (default behavior : exponential backoff)
4646
4747A callback that receives a request, a response, the current number of retries
4848and returns how many microseconds we should wait before trying again.
4949
50- ``exception_delay ``: callable (default behaviour : exponential backoff)
50+ ``exception_delay ``: callable (default behavior : exponential backoff)
5151
5252A callback that receives a request, an exception, the current number of retries
5353and returns how many microseconds we should wait before trying again.
0 commit comments