If the first calls to requests.get and resp.iter_content fail due to a ChunkedEncodingError, we haver probably timed out when getting one of the bigger files. We retry once, and hope the network problem has corrected itself.
Closes
Closes #64
Checks
[x] Have you added unit tests?
[ ] Have you added documentation? N/A
[x] Are all tests and linting passing?
Information for reviewer
Should we add a wait in case the network needs a few ms to correct itself?
Overview
If the first calls to
requests.get
andresp.iter_content
fail due to aChunkedEncodingError
, we haver probably timed out when getting one of the bigger files. We retry once, and hope the network problem has corrected itself.Closes
Checks
Information for reviewer
Should we add a wait in case the network needs a few ms to correct itself?