Skip to content
Myr

Begin work on the 2.0 changelog.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Cory Benfield · committed by Cory Benfield · parent d8268fb · Browse files · 1 file+41 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+41 added−0 removed

  • other:+41 added−0 removed

1 file+41 added−0 removed

modified:HISTORY.rst+41 added
1 unmodified line
23History4-------562.0.0 (2013-XX-XX)7++++++++++++++++++89**API Changes:**1011- Keys in the Headers dictionary are now native strings on all Python versions,12 i.e. bytestrings on Python 2, unicode on Python 3.13- Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception14 will be raised if they don't.15- Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.16- Added new method to ``Session`` objects: ``Session.update_request()``. This17 method updates a ``Request`` object with the data (e.g. cookies) stored on18 the ``Session``.19- Added new method to ``Session`` objects: ``Session.prepare_request()``. This20 method updates and prepares a ``Request`` object, and returns the21 corresponding ``PreparedRequest`` object.22- Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``.23 This should not be called directly, but improves the subclass interface.24- ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding25 will now raise a Requests ``ChunkedEncodingError`` instead.26- Invalid percent-escape sequences now cause a Requests ``InvalidURL``27 exception to be raised.28- HTTP 208 no longer uses reason phrase ``"im_used"``. Correctly uses29 ``"already_reported"``.30- HTTP 226 reason added (``"im_used"``).3132**Bugfixes:**3334- Vastly improved proxy support, including the CONNECT verb. Special thanks to35 the many contributors who worked towards this improvement.36- Chunked encoding fixes.37- Support for mixed case schemes.38- Retrieve environment proxies from more locations.39- Minor cookies fixes.40- Improved streaming behaviour, particularly for compressed data.41- Miscellaneous small Python 3 text encoding bugs.42- ``.netrc`` no longer overrides explicit auth.43- Cookies set by hooks are now correctly persisted on Sessions.44- Fix problem with cookies that specify port numbers in their host field.45- ``BytesIO`` can be used to perform streaming uploads.46471.2.3 (2013-05-25)48++++++++++++++++++4950- Simple packaging fix
650 unmodified lines