Skip to content

Commit bd84045

Browse files
committed
v2.20.0
1 parent 7fd9267 commit bd84045

File tree

4 files changed

+23
-6
lines changed

4 files changed

+23
-6
lines changed

HISTORY.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,29 @@ dev
66

77
**Bugfixes**
88

9+
- \[Short description of non-trivial change.\]
10+
11+
2.20.0 (2018-10-18)
12+
-------------------
13+
14+
**Bugfixes**
15+
916
- Content-Type header parsing is now case-insensitive (e.g.
1017
charset=utf8 v Charset=utf8).
1118
- Fixed exception leak where certain redirect urls would raise
1219
uncaught urllib3 exceptions.
20+
- Requests removes Authorization header from requests redirected
21+
from https to http on the same hostname. (CVE-2018-18074)
22+
- `should_bypass_proxies` now handles URIs without hostnames (e.g.
23+
files).
1324

14-
- \[Short description of non-trivial change.\]
25+
**Dependencies**
26+
27+
- Requests now supports urllib3 v1.24.
28+
29+
**Deprecations**
30+
31+
- Requests has officially stopped support for Python 2.6.
1532

1633
2.19.1 (2018-06-14)
1734
-------------------

requests/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ def check_compatibility(urllib3_version, chardet_version):
5757
# Check urllib3 for compatibility.
5858
major, minor, patch = urllib3_version # noqa: F811
5959
major, minor, patch = int(major), int(minor), int(patch)
60-
# urllib3 >= 1.21.1, <= 1.23
60+
# urllib3 >= 1.21.1, <= 1.24
6161
assert major == 1
6262
assert minor >= 21
63-
assert minor <= 23
63+
assert minor <= 24
6464

6565
# Check chardet for compatibility.
6666
major, minor, patch = chardet_version.split('.')[:3]

requests/__version__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
__title__ = 'requests'
66
__description__ = 'Python HTTP for Humans.'
77
__url__ = 'http://python-requests.org'
8-
__version__ = '2.19.1'
9-
__build__ = 0x021901
8+
__version__ = '2.20.0'
9+
__build__ = 0x022000
1010
__author__ = 'Kenneth Reitz'
1111
__author_email__ = 'me@kennethreitz.org'
1212
__license__ = 'Apache 2.0'

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def run_tests(self):
4444
requires = [
4545
'chardet>=3.0.2,<3.1.0',
4646
'idna>=2.5,<2.8',
47-
'urllib3>=1.21.1,<1.24',
47+
'urllib3>=1.21.1,<1.25',
4848
'certifi>=2017.4.17'
4949

5050
]

0 commit comments

Comments
 (0)