2017-04-26 21:56:21 +00:00
|
|
|
Version History
|
|
|
|
===============
|
|
|
|
|
2020-04-07 12:56:04 +00:00
|
|
|
`2.3.1`_ Apr 7, 2020
|
|
|
|
--------------------
|
2020-04-06 20:04:13 +00:00
|
|
|
- Address `#27`_ by using the shortest appropriate timeout
|
|
|
|
|
|
|
|
.. _#27: https://github.com/sprockets/sprockets.mixins.http/issues/27
|
|
|
|
|
2019-12-09 13:13:01 +00:00
|
|
|
`2.3.0`_ Dec 9, 2019
|
|
|
|
--------------------
|
2019-12-06 18:08:24 +00:00
|
|
|
- Added an option to control response body transformation for errors, i.e. HTTP
|
|
|
|
status code >= 400. By default, a JSON or otherwise structured response body
|
|
|
|
will be reduced down to its error ``message``. That can be overridden by
|
|
|
|
setting ``simplify_error_response`` to False.
|
2019-11-14 15:19:48 +00:00
|
|
|
|
2019-10-29 17:07:58 +00:00
|
|
|
`2.2.2`_ Oct 29, 2019
|
|
|
|
---------------------
|
|
|
|
- Fix compile-time setting of default argument values in ``http_fetch``.
|
|
|
|
|
2019-09-20 19:45:36 +00:00
|
|
|
`2.2.1`_ Sep 20, 2019
|
|
|
|
---------------------
|
|
|
|
- Remove the lrucache on response body due to a bug in behavior
|
|
|
|
|
2019-08-29 21:00:08 +00:00
|
|
|
`2.2.0`_ Aug 29, 2019
|
|
|
|
---------------------
|
2019-08-29 20:01:55 +00:00
|
|
|
- Add handling of ``tornado.httpclient.HTTPTimeoutError`` and
|
|
|
|
``tornado.httpclient.HTTPStreamClosedError`` exceptions
|
2019-08-04 12:20:48 +00:00
|
|
|
- Fix documentation builds
|
2019-08-04 12:28:49 +00:00
|
|
|
- Update documentation links to readthedocs.io
|
2019-08-04 12:20:48 +00:00
|
|
|
|
2019-05-07 15:17:59 +00:00
|
|
|
`2.1.0`_ May 7, 2019
|
|
|
|
--------------------
|
|
|
|
- Cast the ``url`` parameter of ``http_fetch`` to a string.
|
|
|
|
Allows for native use of URL abstractions like `yarl <https://yarl.readthedocs.io/en/latest/>`_.
|
|
|
|
|
2019-04-01 21:38:41 +00:00
|
|
|
`2.0.1`_ Apr 1, 2019
|
|
|
|
--------------------
|
|
|
|
- Fix a bug with the rejected consumer User-Agent behavior
|
|
|
|
|
2019-04-01 19:10:25 +00:00
|
|
|
`2.0.0`_ Apr 1, 2019
|
2019-04-01 15:16:27 +00:00
|
|
|
--------------------
|
2019-04-01 19:10:25 +00:00
|
|
|
- Refactor the HTTPResponse to a stand-alone class
|
|
|
|
- Add ``history`` attribute of the response with all response objects
|
|
|
|
- Add ``links`` attribute of the response with the parsed link header if set
|
|
|
|
- Add ``exceptions`` attribute with stack of exceptions returned as responses
|
|
|
|
- Add ``dont_retry`` as argument to ``http_fetch`` method
|
2019-04-01 15:16:27 +00:00
|
|
|
- Change logging level in a few places to a more appropriate level
|
|
|
|
- Add support for rejected consumers when auto-creating the ``User-Agent`` header
|
|
|
|
- Add the netloc of a request to the log entry created when rate limited
|
|
|
|
- Use RequestHandler.settings instead of RequestHandler.application.settings
|
|
|
|
when auto-creating the ``User-Agent`` header for a Tornado request handler
|
|
|
|
- Add test coverage of the Warning response header behavior
|
|
|
|
|
2019-01-09 21:22:56 +00:00
|
|
|
`1.1.1`_ Jan 9, 2019
|
|
|
|
--------------------
|
|
|
|
- Fix failure when response lacks Content-Type header
|
|
|
|
|
2018-10-11 18:54:39 +00:00
|
|
|
`1.1.0`_ Oct 11, 2018
|
2018-10-11 18:58:13 +00:00
|
|
|
---------------------
|
2018-10-11 18:54:39 +00:00
|
|
|
- Add logging of response ``Warning`` headers
|
|
|
|
|
2018-08-07 20:01:15 +00:00
|
|
|
`1.0.9`_ Aug 7, 2018
|
|
|
|
--------------------
|
|
|
|
- Add support for Python 3.6 and 3.7
|
|
|
|
- Add support for Tornado < 6
|
|
|
|
|
2018-02-07 21:18:50 +00:00
|
|
|
`1.0.8`_ Feb 7, 2018
|
|
|
|
--------------------
|
|
|
|
- Add ``max_redirects`` keyword param
|
|
|
|
- Add ``validate_cert`` keyword param
|
|
|
|
- Fix log records always using default number of attempts
|
|
|
|
|
2017-10-19 14:34:25 +00:00
|
|
|
`1.0.7`_ Oct 19, 2017
|
|
|
|
---------------------
|
|
|
|
- Change the hard pin requirement on umsgpack
|
|
|
|
|
2017-08-16 18:36:02 +00:00
|
|
|
`1.0.6`_ Aug 16, 2017
|
|
|
|
---------------------
|
|
|
|
- Add ``max_http_attempts`` keyword param
|
|
|
|
|
2017-08-07 18:17:53 +00:00
|
|
|
`1.0.5`_ Aug 7, 2017
|
|
|
|
--------------------
|
|
|
|
- Add support for allow_nonstandard_methods and max_clients
|
|
|
|
|
2017-05-12 16:00:23 +00:00
|
|
|
`1.0.4`_ May 12, 2017
|
|
|
|
---------------------
|
|
|
|
- Add support for passing the user_agent parameter per request
|
|
|
|
|
2017-04-28 13:15:58 +00:00
|
|
|
`1.0.3`_ Apr 28, 2017
|
|
|
|
---------------------
|
|
|
|
- Fix the installer
|
|
|
|
|
|
|
|
`1.0.2`_ Apr 26, 2017
|
2017-04-27 02:50:14 +00:00
|
|
|
---------------------
|
|
|
|
- Documentation Updates
|
|
|
|
|
2017-04-28 13:15:58 +00:00
|
|
|
`1.0.1`_ Apr 26, 2017
|
2017-04-27 02:50:14 +00:00
|
|
|
---------------------
|
|
|
|
- Default Accept headers include both msgpack and json
|
|
|
|
|
2017-04-26 21:56:21 +00:00
|
|
|
`1.0.0`_ Apr 26, 2017
|
|
|
|
---------------------
|
|
|
|
- Initial Version
|
|
|
|
|
2020-04-07 12:56:04 +00:00
|
|
|
.. _2.3.1: https://github.com/sprockets/sprockets.mixins.http/compare/2.3.0...2.3.1
|
2019-12-09 13:13:01 +00:00
|
|
|
.. _2.3.0: https://github.com/sprockets/sprockets.mixins.http/compare/2.2.1...2.3.0
|
|
|
|
.. _2.2.1: https://github.com/sprockets/sprockets.mixins.http/compare/2.2.0...2.2.1
|
2019-08-29 21:00:08 +00:00
|
|
|
.. _2.2.0: https://github.com/sprockets/sprockets.mixins.http/compare/2.1.0...2.2.0
|
2019-05-07 15:17:59 +00:00
|
|
|
.. _2.1.0: https://github.com/sprockets/sprockets.mixins.http/compare/2.0.1...2.1.0
|
2019-04-01 21:38:41 +00:00
|
|
|
.. _2.0.1: https://github.com/sprockets/sprockets.mixins.http/compare/2.0.0...2.0.1
|
|
|
|
.. _2.0.0: https://github.com/sprockets/sprockets.mixins.http/compare/1.1.1...2.0.0
|
2019-01-09 21:22:56 +00:00
|
|
|
.. _1.1.1: https://github.com/sprockets/sprockets.mixins.http/compare/1.1.0...1.1.1
|
2018-10-11 18:54:39 +00:00
|
|
|
.. _1.1.0: https://github.com/sprockets/sprockets.mixins.http/compare/1.0.9...1.1.0
|
2018-08-07 20:01:15 +00:00
|
|
|
.. _1.0.9: https://github.com/sprockets/sprockets.mixins.http/compare/1.0.8...1.0.9
|
2018-02-07 21:18:50 +00:00
|
|
|
.. _1.0.8: https://github.com/sprockets/sprockets.mixins.http/compare/1.0.7...1.0.8
|
|
|
|
.. _1.0.7: https://github.com/sprockets/sprockets.mixins.http/compare/1.0.6...1.0.7
|
2017-08-16 18:36:02 +00:00
|
|
|
.. _1.0.6: https://github.com/sprockets/sprockets.mixins.http/compare/1.0.5...1.0.6
|
2017-08-07 18:17:53 +00:00
|
|
|
.. _1.0.5: https://github.com/sprockets/sprockets.mixins.http/compare/1.0.4...1.0.5
|
2017-05-12 19:24:40 +00:00
|
|
|
.. _1.0.4: https://github.com/sprockets/sprockets.mixins.http/compare/1.0.3...1.0.4
|
|
|
|
.. _1.0.3: https://github.com/sprockets/sprockets.mixins.http/compare/1.0.2...1.0.3
|
|
|
|
.. _1.0.2: https://github.com/sprockets/sprockets.mixins.http/compare/1.0.1...1.0.2
|
|
|
|
.. _1.0.1: https://github.com/sprockets/sprockets.mixins.http/compare/1.0.0...1.0.1
|
|
|
|
.. _1.0.0: https://github.com/sprockets/sprockets.mixins.http/compare/2fc5bad...1.0.0
|