pkgsrc/devel/py-requests-toolbelt
wiz 646b2fd5ef Updated py-requests-toolbelt to 0.7.0.
0.7.0 -- 2016-07-21
-------------------

More information about this release can be found on the `0.7.0 milestone`_.

New Features
~~~~~~~~~~~~

- Add ``BaseUrlSession`` to allow developers to have a session that has a
  "Base" URL. See the documentation for more details and examples.

- Split the logic of ``stream_response_to_file`` into two separate functions:

  * ``get_download_file_path`` to generate the file name from the Response.

  * ``stream_response_to_file`` which will use ``get_download_file_path`` if
    necessary

Fixed Bugs
~~~~~~~~~~

- Fixed the issue for people using *very* old versions of Requests where they
  would see an ImportError from ``requests_toolbelt._compat`` when trying to
  import ``connection``.


.. _0.7.0 milestone:
    https://github.com/sigmavirus24/requests-toolbelt/milestones/0.7.0
2016-07-24 19:27:38 +00:00
..
DESCR
distinfo Updated py-requests-toolbelt to 0.7.0. 2016-07-24 19:27:38 +00:00
Makefile Updated py-requests-toolbelt to 0.7.0. 2016-07-24 19:27:38 +00:00
PLIST Updated py-requests-toolbelt to 0.7.0. 2016-07-24 19:27:38 +00:00