Skip to content
Myr

v2.12.2

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 5c45494 · Browse files · 2 files+22 added−2 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+22 added−2 removed

  • other:+22 added−2 removed

2 files+22 added−2 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.12.1'45__build__ = 0x02120144__version__ = '2.12.2'45__build__ = 0x02120246__author__ = 'Kenneth Reitz'47__license__ = 'Apache 2.0'48__copyright__ = 'Copyright 2016 Kenneth Reitz'49
37 unmodified lines
modified:HISTORY.rst+20 added
1 unmodified line
23Release History4---------------562.12.2 (2016-11-30)7+++++++++++++++++++89**Bugfixes**1011- Fixed several issues with IDNA-encoding URLs that are technically invalid but12 which are widely accepted. Requests will now attempt to IDNA-encode a URL if13 it can but, if it fails, and the host contains only ASCII characters, it will14 be passed through optimistically. This will allow users to opt-in to using15 IDNA2003 themselves if they want to, and will also allow technically invalid16 but still common hostnames.17- Fixed an issue where URLs with leading whitespace would raise18 ``InvalidSchema`` errors.19- Fixed an issue where some URLs without the HTTP or HTTPS schemes would still20 have HTTP URL preparation applied to them.21- Fixed an issue where Unicode strings could not be used in basic auth.22- Fixed an issue encountered by some Requests plugins where constructing a23 Response object would cause ``Response.content`` to raise an24 ``AttributeError``.25262.12.1 (2016-11-16)27+++++++++++++++++++2829**Bugfixes**
1237 unmodified lines