diff options
author | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 13:41:29 -0700 |
---|---|---|
committer | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 13:41:29 -0700 |
commit | 224200a9815f792f93632d03a38e4f0763ae69ef (patch) | |
tree | 161977259a7d8aa262aab60d7c8fce757ad3bb0f /PKG-INFO | |
parent | 653256249d44c67a0852d57a166948a9dc712ef4 (diff) | |
download | python-requests-224200a9815f792f93632d03a38e4f0763ae69ef.tar python-requests-224200a9815f792f93632d03a38e4f0763ae69ef.tar.gz |
Imported Upstream version 2.0.0
Diffstat (limited to 'PKG-INFO')
-rw-r--r-- | PKG-INFO | 62 |
1 files changed, 58 insertions, 4 deletions
@@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: requests -Version: 1.2.3 +Version: 2.0.0 Summary: Python HTTP for Humans. Home-page: http://python-requests.org Author: Kenneth Reitz @@ -22,6 +22,8 @@ License: Copyright 2013 Kenneth Reitz Description: Requests: HTTP for Humans ========================= + .. image:: https://badge.fury.io/py/requests.png + :target: http://badge.fury.io/py/requests .. image:: https://travis-ci.org/kennethreitz/requests.png?branch=master :target: https://travis-ci.org/kennethreitz/requests @@ -73,12 +75,13 @@ Description: Requests: HTTP for Humans - Multipart File Uploads - Connection Timeouts - Thread-safety + - HTTP(S) proxy support Installation ------------ - To install requests, simply: + To install Requests, simply: .. code-block:: bash @@ -102,13 +105,15 @@ Description: Requests: HTTP for Humans Contribute ---------- - #. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a Contributor Friendly tag for issues that should be ideal for people who are not very familiar with the codebase yet. - #. Fork `the repository`_ on Github to start making your changes to the **master** branch (or branch off of it). + #. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a `Contributor Friendly`_ tag for issues that should be ideal for people who are not very familiar with the codebase yet. + #. If you feel uncomfortable or uncertain about an issue or your changes, feel free to email @sigmavirus24 and he will happily help you via email, Skype, remote pairing or whatever you are comfortable with. + #. Fork `the repository`_ on GitHub to start making your changes to the **master** branch (or branch off of it). #. Write a test which shows that the bug was fixed or that the feature works as expected. #. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS_. .. _`the repository`: http://github.com/kennethreitz/requests .. _AUTHORS: https://github.com/kennethreitz/requests/blob/master/AUTHORS.rst + .. _Contributor Friendly: https://github.com/kennethreitz/requests/issues?direction=desc&labels=Contributor+Friendly&page=1&sort=updated&state=open .. :changelog: @@ -116,6 +121,55 @@ Description: Requests: HTTP for Humans History ------- + 2.0.0 (2013-09-24) + ++++++++++++++++++ + + **API Changes:** + + - Keys in the Headers dictionary are now native strings on all Python versions, + i.e. bytestrings on Python 2, unicode on Python 3. + - Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception + will be raised if they don't. + - Timeouts now apply to read time if ``Stream=False``. + - ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``. + - Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``. + - Added new method to ``Session`` objects: ``Session.update_request()``. This + method updates a ``Request`` object with the data (e.g. cookies) stored on + the ``Session``. + - Added new method to ``Session`` objects: ``Session.prepare_request()``. This + method updates and prepares a ``Request`` object, and returns the + corresponding ``PreparedRequest`` object. + - Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``. + This should not be called directly, but improves the subclass interface. + - ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding + will now raise a Requests ``ChunkedEncodingError`` instead. + - Invalid percent-escape sequences now cause a Requests ``InvalidURL`` + exception to be raised. + - HTTP 208 no longer uses reason phrase ``"im_used"``. Correctly uses + ``"already_reported"``. + - HTTP 226 reason added (``"im_used"``). + + **Bugfixes:** + + - Vastly improved proxy support, including the CONNECT verb. Special thanks to + the many contributors who worked towards this improvement. + - Cookies are now properly managed when 401 authentication responses are + received. + - Chunked encoding fixes. + - Support for mixed case schemes. + - Better handling of streaming downloads. + - Retrieve environment proxies from more locations. + - Minor cookies fixes. + - Imroved redirect behaviour. + - Improved streaming behaviour, particularly for compressed data. + - Miscellaneous small Python 3 text encoding bugs. + - ``.netrc`` no longer overrides explicit auth. + - Cookies set by hooks are now correctly persisted on Sessions. + - Fix problem with cookies that specify port numbers in their host field. + - ``BytesIO`` can be used to perform streaming uploads. + - More generous parsing of the ``no_proxy`` environment variable. + - Non-string objects can be passed in data values alongside files. + 1.2.3 (2013-05-25) ++++++++++++++++++ |