From 2aa5804418a36b141a94d945f948471bd8c90eae Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 8 Aug 2016 23:52:49 +0200 Subject: [PATCH] requirements: Update requests to 2.11.0 Improvements - Added support for the ALL_PROXY environment variable. - Reject header values that contain leading whitespace or newline characters to reduce risk of header smuggling. Bugfixes - Fixed occasional TypeError when attempting to decode a JSON response that occurred in an error case. Now correctly returns a ValueError. - Requests would incorrectly ignore a non-CIDR IP address in the NO_PROXY environment variables: Requests now treats it as a specific IP. - Fixed a bug when sending JSON data that could cause us to encounter obscure OpenSSL errors in certain network conditions (yes, really). - Added type checks to ensure that iter_content only accepts integers and None for chunk sizes. - Fixed issue where responses whose body had not been fully consumed would have the underlying connection closed but not returned to the connection pool, which could cause Requests to hang in situations where the HTTPAdapter had been configured to use a blocking connection pool. Miscellaneous - Updated bundled urllib3 to 1.16. - Some previous releases accidentally accepted integers as acceptable header values. This release does not. --- misc/requirements/requirements-codecov.txt | 2 +- misc/requirements/requirements-pylint-master.txt | 2 +- misc/requirements/requirements-pylint.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/requirements/requirements-codecov.txt b/misc/requirements/requirements-codecov.txt index 9d634f092..f64128b22 100644 --- a/misc/requirements/requirements-codecov.txt +++ b/misc/requirements/requirements-codecov.txt @@ -2,4 +2,4 @@ codecov==2.0.5 coverage==4.2 -requests==2.10.0 +requests==2.11.0 diff --git a/misc/requirements/requirements-pylint-master.txt b/misc/requirements/requirements-pylint-master.txt index 9e235a4fc..e34fca6f8 100644 --- a/misc/requirements/requirements-pylint-master.txt +++ b/misc/requirements/requirements-pylint-master.txt @@ -6,6 +6,6 @@ lazy-object-proxy==1.2.2 mccabe==0.5.2 -e git+https://github.com/PyCQA/pylint.git#egg=pylint ./scripts/dev/pylint_checkers -requests==2.10.0 +requests==2.11.0 six==1.10.0 wrapt==1.10.8 diff --git a/misc/requirements/requirements-pylint.txt b/misc/requirements/requirements-pylint.txt index 2fbf9dfb2..7367aab80 100644 --- a/misc/requirements/requirements-pylint.txt +++ b/misc/requirements/requirements-pylint.txt @@ -7,7 +7,7 @@ lazy-object-proxy==1.2.2 mccabe==0.5.2 pylint==1.6.4 ./scripts/dev/pylint_checkers -requests==2.10.0 +requests==2.11.0 six==1.10.0 uritemplate.py==0.3.0 wrapt==1.10.8