khazhyk 62cdfbdbcd Raise in HTTPClient.request when out of retries
Raise after loop completes without returning with most recent values
for r, data. This is a bit less fragile than checking tries < 4, since
changing the retry count requires changing values in multiple places.
(There seemed to already be handling in the 502 retry, tries <= 5,
which always evaluated to true, e.g.)
Previously, once out of retries, we would always return None without
raising.
This won't NameError so long as we make at least one HTTP request.
2017-07-22 20:10:28 -07:00
..
2016-05-06 12:23:24 -04:00
2017-07-04 23:16:16 +03:00
2017-07-18 16:36:26 -04:00
2017-04-15 19:55:51 -04:00
2017-07-03 23:14:16 -07:00
2017-07-08 21:33:04 -04:00
2017-01-20 23:19:19 -05:00
2017-01-20 23:19:19 -05:00
2017-01-20 23:19:19 -05:00
2017-07-05 00:48:27 -04:00
2017-06-30 18:49:49 -04:00
2017-06-09 18:36:59 -04:00