The goal of this library is to implement a resilient version of the requests library.
This library will support:
- Timeouts (already supported by requests)
- Retry (via HttpAdapter, using urllib3 Retry class)
Eventually the interface should be something like this:
requests.get(url, timeout=(connect_seconds, read_seconds), retry=(total, backoff_factor, status_forcelist))
For example:
requests.get('https://example.com/posts', timeout=(2, 1), retry=(3, 0.1, [500, 501]))