Skip to content
Myr

v2.12.0

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 2d211d5 · Browse files · 2 files+34 added−4 removed
This commit

State

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

Diff stats

2 files+34 added−4 removed

  • other:+34 added−4 removed

2 files+34 added−4 removed

modified:requests/__init__.py+2 added-2 removed
39 unmodified lines
40:license: Apache 2.0, see LICENSE for more details.41"""4243__title__ = 'requests'44__version__ = '2.11.1'45__build__ = 0x02110144__version__ = '2.12.0'45__build__ = 0x02120046__author__ = 'Kenneth Reitz'47__license__ = 'Apache 2.0'48__copyright__ = 'Copyright 2016 Kenneth Reitz'49
37 unmodified lines
modified:HISTORY.rst+32 added-2 removed
1 unmodified line
23Release History4---------------56dev7+++62.12.0 (2016-11-15)7+++++++++++++++++++89**Improvements**1011- Updated support for internationalized domain names from IDNA2003 to IDNA2008.12 This updated support is required for several forms of IDNs and is mandatory13 for .de domains.14- Much improved heuristics for guessing content lengths: Requests will no15 longer read an entire ``StringIO`` into memory.16- Much improved logic for recalculating ``Content-Length`` headers for17 ``PreparedRequest`` objects.18- Improved tolerance for file-like objects that have no ``tell`` method but19 do have a ``seek`` method.20- Anything that is a subclass of ``Mapping`` is now treated like a dictionary21 by the ``data=`` keyword argument.22- Requests now tolerates empty passwords in proxy credentials, rather than23 stripping the credentials.24- If a request is made with a file-like object as the body and that request is25 redirected with a 307 or 308 status code, Requests will now attempt to26 rewind the body object so it can be replayed.2728**Bugfixes**2930- When calling ``response.close``, the call to ``close`` will be propagated31 through to non-urllib3 backends.32- Fixed issue where the ``ALL_PROXY`` environment variable would be preferred33 over scheme-specific variables like ``HTTP_PROXY``.34- Fixed issue where non-UTF8 reason phrases got severely mangled by falling35 back to decoding using ISO 8859-1 instead.36- Fixed a bug where Requests would not correctly correlate cookies set when37 using custom Host headers if those Host headers did not use the native38 string type for the platform.3940**Miscellaneous**4142- Updated bundled urllib3 to 1.19.43- Updated bundled certifi certs to 2016.09.26.44452.11.1 (2016-08-17)46+++++++++++++++++++4748**Bugfixes**
1187 unmodified lines