Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(727)

Side by Side Diff: third_party/requests/HISTORY.rst

Issue 25004007: Update 'requests' lib to v2.0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/swarm_client
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | third_party/requests/README.rst » ('j') | third_party/requests/README.swarming » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 .. :changelog: 1 .. :changelog:
2 2
3 History 3 History
4 ------- 4 -------
5 5
6 2.0.0 (2013-09-24)
7 ++++++++++++++++++
8
9 **API Changes:**
10
11 - 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`` exception
14 will be raised if they don't.
15 - Timeouts now apply to read time if ``Stream=False``.
16 - ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``.
17 - Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.
18 - Added new method to ``Session`` objects: ``Session.update_request()``. This
19 method updates a ``Request`` object with the data (e.g. cookies) stored on
20 the ``Session``.
21 - Added new method to ``Session`` objects: ``Session.prepare_request()``. This
22 method updates and prepares a ``Request`` object, and returns the
23 corresponding ``PreparedRequest`` object.
24 - Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``.
25 This should not be called directly, but improves the subclass interface.
26 - ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding
27 will now raise a Requests ``ChunkedEncodingError`` instead.
28 - Invalid percent-escape sequences now cause a Requests ``InvalidURL``
29 exception to be raised.
30 - HTTP 208 no longer uses reason phrase ``"im_used"``. Correctly uses
31 ``"already_reported"``.
32 - HTTP 226 reason added (``"im_used"``).
33
34 **Bugfixes:**
35
36 - Vastly improved proxy support, including the CONNECT verb. Special thanks to
37 the many contributors who worked towards this improvement.
38 - Cookies are now properly managed when 401 authentication responses are
39 received.
40 - Chunked encoding fixes.
41 - Support for mixed case schemes.
42 - Better handling of streaming downloads.
43 - Retrieve environment proxies from more locations.
44 - Minor cookies fixes.
45 - Imroved redirect behaviour.
46 - Improved streaming behaviour, particularly for compressed data.
47 - Miscellaneous small Python 3 text encoding bugs.
48 - ``.netrc`` no longer overrides explicit auth.
49 - Cookies set by hooks are now correctly persisted on Sessions.
50 - Fix problem with cookies that specify port numbers in their host field.
51 - ``BytesIO`` can be used to perform streaming uploads.
52 - More generous parsing of the ``no_proxy`` environment variable.
53 - Non-string objects can be passed in data values alongside files.
54
6 1.2.3 (2013-05-25) 55 1.2.3 (2013-05-25)
7 ++++++++++++++++++ 56 ++++++++++++++++++
8 57
9 - Simple packaging fix 58 - Simple packaging fix
10 59
11 60
12 1.2.2 (2013-05-23) 61 1.2.2 (2013-05-23)
13 ++++++++++++++++++ 62 ++++++++++++++++++
14 63
15 - Simple packaging fix 64 - Simple packaging fix
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 699
651 * Birth! 700 * Birth!
652 701
653 702
654 0.0.1 (2011-02-13) 703 0.0.1 (2011-02-13)
655 ++++++++++++++++++ 704 ++++++++++++++++++
656 705
657 * Frustration 706 * Frustration
658 * Conception 707 * Conception
659 708
OLDNEW
« no previous file with comments | « no previous file | third_party/requests/README.rst » ('j') | third_party/requests/README.swarming » ('J')

Powered by Google App Engine
This is Rietveld 408576698