We use the Python Requests module and urllib3.util.retry to implement retry in the event of a short list of HTTP error codes. Need to ensure that the auth header gets regenerated with each retry. While we're at it, we should ensure that we're honoring the retry-after value in the response headers to deal gracefully with rate limiting.
We use the Python
Requests
module andurllib3.util.retry
to implement retry in the event of a short list of HTTP error codes. Need to ensure that the auth header gets regenerated with each retry. While we're at it, we should ensure that we're honoring theretry-after
value in the response headers to deal gracefully with rate limiting.