./devel/py-requests-toolbelt, Utility belt for advanced users of python-requests

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.8.0, Package name: py27-requests-toolbelt-0.8.0, Maintainer: pkgsrc-users

This is just a collection of utilities for python-requests, but
don't really belong in requests proper.


Required to run:
[devel/py-setuptools] [lang/python27] [devel/py-requests]

Required to build:
[devel/py-mock] [devel/py-test] [pkgtools/cwrappers]

Master sites:

SHA1: 67884283e5941c15eb283e3044687e8b3e4f2c3a
RMD160: 47bbee2248f1d0862e27287ecbcbb3c078818122
Filesize: 191.532 KB

Version history: (Expand)


CVS history: (Expand)


   2017-05-29 13:07:19 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-requests-toolbelt to 0.8.0.

0.8.0 -- 2017-05-20
-------------------

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

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

- Add ``UserAgentBuilder`` to provide more control over generated User-Agent
  strings.

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

- Include ``_validate_certificate`` in the lits of picked attributes on the
  ``AppEngineAdapter``.
- Fix backwards incompatibility in ``get_encodings_from_content``

.. _0.8.0 milestone:
    https://github.com/sigmavirus24/request … ones/0.8.0
   2017-02-20 11:01:46 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-requests-toolbelt to 0.7.1.

0.7.1 -- 2017-02-13
-------------------

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

- Fixed monkey-patching for the AppEngineAdapter.

- Make it easier to disable certificate verification when monkey-patching
  AppEngine.

- Handle ``multipart/form-data`` bodies without a trailing ``CRLF``.
   2016-07-24 21:27:38 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
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/request … ones/0.7.0
   2016-06-08 19:49:20 by Thomas Klausner | Files touched by this commit (15)
Log message:
Switch to MASTER_SITE_PYPI.
   2016-05-18 14:31:54 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py35-requests-toolbelt to 0.6.2.

0.6.2 -- 2016-05-10
-------------------

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

- When passing a timeout via Requests, it was not appropriately translated to
  the timeout that the urllib3 code was expecting.

0.6.1 -- 2016-05-05
-------------------

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

- Remove assertion about request URLs in the AppEngineAdapter.

- Prevent pip from installing requests 3.0.0 when that is released until we
  are ready to handle it.
   2016-02-01 14:23:57 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Update py-requests-toolbelt to 0.6.0:

0.6.0 -- 2016-01-27
-------------------

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

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

- Add ``AppEngineAdapter`` to support developers using Google's AppEngine
  platform with Requests.

- Add ``GuessProxyAuth`` class to support guessing between Basic and Digest
  Authentication for proxies.

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

- Ensure that proxies use the correct TLS version when using the
  ``SSLAdapter``.

- Fix an ``AttributeError`` when using the ``HTTPProxyDigestAuth`` class.

Miscellaneous
~~~~~~~~~~~~~

- Drop testing support for Python 3.2. virtualenv and pip have stopped
  supporting it meaning that it is harder to test for this with our CI
  infrastructure. Moving forward we will make a best-effort attempt to
  support 3.2 but will not test for it.

.. _0.6.0 milestone:
    https://github.com/sigmavirus24/request … ones/0.6.0
   2015-12-28 00:36:43 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update py-requests-toolbelt to 0.5.1:

0.5.1 -- 2015-12-16
-------------------

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

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

- Now papers over the differences in requests' ``super_len`` function from
  versions prior to 2.9.0 and versions 2.9.0 and later.
   2015-12-04 22:48:21 by Thomas Klausner | Files touched by this commit (6) | Package updated
Log message:
Update py-requests-toolbelt to 0.5.0.

Add test dependencies. All tests pass.

0.5.0 -- 2015-11-24
-------------------

More information about this release can be found on the `milestone
<https://github.com/sigmavirus24/requests-toolbelt/issues?utf8=%E2%9C%93&q=is%3Aall+milestone%3A0.5+>`_
for 0.5.0.

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

- The ``tee`` submodule was added to ``requests_toolbelt.downloadutils``. It
  allows you to iterate over the bytes of a response while also writing them
  to a file. The ``tee.tee`` function, expects you to pass an open file
  object, while ``tee.tee_to_file`` will use the provided file name to open
  the file for you.

- Added a new parameter to ``requests_toolbelt.utils.user_agent`` that allows
  the user to specify additional items.

- Added nested form-data helper,
  ``requests_toolbelt.utils.formdata.urlencode``.

- Added the ``ForgetfulCookieJar`` to ``requests_toolbelt.cookies``.

- Added utilities for dumping the information about a request-response cycle
  in ``requests_toolbelt.utils.dump``.

- Implemented the API described in the ``requests_toolbelt.threaded`` module
  docstring, i.e., added ``requests_toolbelt.threaded.map`` as an available
  function.

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

- Now papers over the API differences in versions of requests installed from
  system packages versus versions of requests installed from PyPI.

- Allow string types for ``SourceAddressAdapter``.