Comment

suineg

I decided so but I'm not sure if it's right because get an error:

Add:
status=3,
method_whitelist=frozenset(['POST'])

err: requests.exceptions.RetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/504 (Caused by ResponseError('too many 504 error responses',))

Parent comment

Alex

You set status_forcelist, but status kwarg is set to None as default (according to urllib3.util.retry.Retry docs), so retries on bad-statuses-reason will never be made. Should we specify connect=retries or I have misunderstanding? P.S. sorry for my english

Replies

Jack

Did you ever sort this?