If we form an $insert_id (or use the one the caller provided), we can retry requests that failed due to certain transport/HTTP errors.
I am adding a dependency on urllib3 to handle the retry/backoff logic.
[x] move to urllib3
[x] ditch base64 encoding, now that tracking API supports urlencoded JSON.
[x] form $insert_id if not given
[x] retry support
[ ] basic test for working retries
[x] caller configurability for retry/timeout params:
[x] timeout ("total" connection+request timeout per urllib3 terminology)
(Addresses #80)
If we form an $insert_id (or use the one the caller provided), we can retry requests that failed due to certain transport/HTTP errors. I am adding a dependency on
urllib3
to handle the retry/backoff logic.$insert_id
if not given