This commit is contained in:
Cory Benfield
2016-11-30 12:38:26 +00:00
parent 5c4549493b
commit ca15d48087
2 changed files with 22 additions and 2 deletions
+20
View File
@@ -3,6 +3,26 @@
Release History
---------------
2.12.2 (2016-11-30)
+++++++++++++++++++
**Bugfixes**
- Fixed several issues with IDNA-encoding URLs that are technically invalid but
which are widely accepted. Requests will now attempt to IDNA-encode a URL if
it can but, if it fails, and the host contains only ASCII characters, it will
be passed through optimistically. This will allow users to opt-in to using
IDNA2003 themselves if they want to, and will also allow technically invalid
but still common hostnames.
- Fixed an issue where URLs with leading whitespace would raise
``InvalidSchema`` errors.
- Fixed an issue where some URLs without the HTTP or HTTPS schemes would still
have HTTP URL preparation applied to them.
- Fixed an issue where Unicode strings could not be used in basic auth.
- Fixed an issue encountered by some Requests plugins where constructing a
Response object would cause ``Response.content`` to raise an
``AttributeError``.
2.12.1 (2016-11-16)
+++++++++++++++++++
+2 -2
View File
@@ -41,8 +41,8 @@ is at <http://python-requests.org>.
"""
__title__ = 'requests'
__version__ = '2.12.1'
__build__ = 0x021201
__version__ = '2.12.2'
__build__ = 0x021202
__author__ = 'Kenneth Reitz'
__license__ = 'Apache 2.0'
__copyright__ = 'Copyright 2016 Kenneth Reitz'