sprockets.mixins.http/docs
Andrew Rabert 5998afd1e0 Add handling of tornado.httpclient.HTTPError
Only handle OSError and httpclient.HTTPError.
- We can assume any instance of httpclient.HTTPError is a failure
  unrelated to the status code of the response. This is due to
  sprockets.mixins.http setting `raise_error=False` when making the
  request.
- ConnectionError and socket.gaierror are both instances of OSError
- CurlError is an instance of tornado.httpclient.HTTPError
- Other instances of tornado.httpclient.HTTPError include
  HTTPTimeoutError and HTTPStreamClosedError

Also needed to fix the instance assertions in the test. It was always
true as it was evaluating the truthyness of a list - not the isinstance
values.
2019-08-29 16:01:55 -04:00
..
api.rst Initial version 2017-04-26 17:56:21 -04:00
conf.py Remove docs handling of namedtuples. 2019-08-04 08:25:05 -04:00
history.rst Add handling of tornado.httpclient.HTTPError 2019-08-29 16:01:55 -04:00
index.rst Initial version 2017-04-26 17:56:21 -04:00