Skip to content

Commit 1fcdc52

Browse files
committed
[Rest] Passed retry_with_header param to urllib3 Retry constructor
1 parent df25ee5 commit 1fcdc52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

atlassian/rest_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ def __init__(
161161
backoff_factor=self.backoff_factor,
162162
backoff_jitter=self.backoff_jitter,
163163
backoff_max=self.max_backoff_seconds,
164+
respect_retry_after_header=self.retry_with_header
164165
)
165166
self._session.mount(self.url, HTTPAdapter(max_retries=retries))
166167
if username and password:

0 commit comments

Comments
 (0)