VasiliPupkin256
5d6eeb5a7f
Map urllib3 ReadTimeoutError to an appropriate ReadTimeout requests exception, issue #2392
2018-01-13 03:28:02 +03:00
Hugo
946f136715
Update CLI example
2017-10-17 18:03:59 +03:00
hugovk
006aa3de4f
Drop Python 2.6: OrderedDict is in collections from 2.7
2017-10-17 16:56:56 +03:00
Nate Prewitt
37f1d23c39
Merge remote-tracking branch 'upstream/master' into proposed/3.0.0
2017-10-15 13:59:50 -07:00
Hugo
ec5804c706
Python 3.3 has already been dropped ( #4231 )
2017-10-15 20:04:51 +03:00
Taylor Rose
15054aa390
Warn user about possible slowdown when using cryptography version <
...
1.3.4
2017-10-14 09:00:58 -04:00
Remi Rampin
965ada6f66
Fix parse_header_links on empty header
2017-08-16 22:10:20 -04:00
Cory Benfield
a3d7cf3f27
v2.18.4
2017-08-15 14:22:52 +01:00
mgasvoda
e36083b89c
Adding space after colon
2017-08-11 16:19:43 -04:00
mgasvoda
308343508b
Removing trailing whitespace
2017-08-11 16:14:13 -04:00
mgasvoda
ba21d14976
Improving message formatting
2017-08-11 16:12:36 -04:00
mgasvoda
cee8fae65e
Adding header name to exception
...
Adds the name of the header to the invalid header exception raised on TypeError.
2017-08-11 15:37:57 -04:00
Cory Benfield
7c67c4adf9
v2.18.3
2017-08-02 14:22:44 +01:00
Cory Benfield
4f49f6b3ed
Correctly raise SSLError from urllib3.
2017-07-29 12:12:11 +01:00
Alex Chan
39b121d791
Add idna version info to requests.help
2017-07-27 21:33:42 +01:00
Alex Gaynor
2629c0906e
Merge branch 'master' into patch-2
2017-07-27 11:19:32 -04:00
Mark Szymanski
e2f5a135c3
remove legacy super() call
2017-07-26 19:21:45 -05:00
jonathan vanasco
667896c557
some docs on request redirect detection
2017-07-26 15:32:07 -04:00
Bruno Alla
b77c1a3deb
Correct urllib3 compatibility comment
...
So that it's in line with the code. I saw the warning raised recently and had to dive into the code for exact compatibility, but I stopped after reading the comment rather than the code.
Maybe a better solution would be to surface the supported versions in the warning, but I see it was changed recently in https://github.com/requests/requests/pull/4144/
2017-07-26 10:23:01 +01:00
Cory Benfield
6cc891fd32
v2.18.2
2017-07-25 16:21:48 +01:00
Alex Muller
d8c2fdf92f
Use 'prefix' instead of 'key' in session docstring
...
This commit makes the API docs more clear. The 'key' is an
implementation detail.
2017-07-20 10:06:34 +02:00
Hugo Osvaldo Barrera
9766870807
Use comprehensions whenever possible
2017-07-14 11:42:32 -03:00
Hugo Osvaldo Barrera
ed068ea0af
Drop python2.6 support
2017-07-14 11:42:32 -03:00
Nate Prewitt
f6e07bb27f
fix OPENSSL_VERSION_NUMBER check on Python2.6's ssl module
2017-07-03 17:21:56 -06:00
Jeremy Cline
f58d473d4e
Move _pool_kwargs out to a function
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org >
2017-06-26 09:35:14 -04:00
Alex Gaynor
c054a722bb
Removed legacy fallback for python3.2
2017-06-25 12:51:15 -04:00
Jeremy Cline
14a0bf2912
Pass pool_kwargs rather than updating connection_pool_kw
...
This addresses an issue where making HTTPS through proxies used the
default urllib3 connection pool settings.
fixes #3633
Signed-off-by: Jeremy Cline <jeremy@jcline.org >
2017-06-24 18:58:48 -04:00
Cory Benfield
51de61f914
v2.18.1
2017-06-14 18:50:53 +01:00
Cory Benfield
d93b37cee7
Prepare v2.18.0
2017-06-14 16:43:40 +01:00
Justin Mayhew
c6a6347156
Remove exec permission from files that shouldn't have it
2017-06-10 20:38:45 -03:00
mlcrazy
613f61d77c
Merge remote-tracking branch 'upstream/master'
2017-06-09 14:32:27 -04:00
mlcrazy
1d7fd6c8b3
Fixes error swallowing in set_environ
2017-06-09 14:10:47 -04:00
JiuLi Gao
22d12b0501
typo
2017-06-09 16:56:14 +08:00
Nate Prewitt
d8e2367809
convert version compatibility checks to warning
2017-06-08 15:21:25 -06:00
Ed Morley
4847f5b8cd
Allow Requests.Response to be used as a context manager
...
This saves having to wrap the call to requests with
`contextlib.closing()`, allowing it to be used directly in a
`with` statement, like so:
```
with requests.get('http://httpbin.org/get ', stream=True) as r:
# Do things with the response here.
```
Fixes #4136 .
2017-06-06 23:30:47 +01:00
Felix Yan
0abb69b1cb
Fix a typo: verison -> version
2017-06-06 12:01:41 +08:00
Cory Benfield
190a68550a
This should be 3.0
2017-05-31 14:08:05 +01:00
Cory Benfield
548823be83
Clean up invalid indentation from merge
2017-05-31 10:41:47 +01:00
Cory Benfield
a6f7f5dc62
Clean up flake8 errors from merge
2017-05-31 10:39:27 +01:00
Cory Benfield
f308ea1a31
Clean up messy merge
2017-05-31 10:36:29 +01:00
Cory Benfield
c3f4a028bf
Merge branch 'master' into proposed/3.0.0
2017-05-31 10:29:19 +01:00
kennethreitz
d78ec90e7b
cleanup utils.py
2017-05-29 23:04:45 -04:00
kennethreitz
04ed1e5122
cleanup sessions.py
2017-05-29 23:02:23 -04:00
kennethreitz
33619268f9
cleanup models.py
2017-05-29 23:00:09 -04:00
kennethreitz
e5894e99b7
improve flake8 help.py
2017-05-29 22:58:01 -04:00
kennethreitz
6495190b00
cleanup help.py (flake8)
2017-05-29 22:55:08 -04:00
kennethreitz
5b363d1a57
improve line continuations for flake8
2017-05-29 22:54:23 -04:00
kennethreitz
f6a4ab02da
fix empty lines for flake8
2017-05-29 22:44:33 -04:00
kennethreitz
5fa4e74d61
fix flake8 indent error
2017-05-29 22:43:12 -04:00
kennethreitz
e55d3d0658
fix spaces in api.py
2017-05-29 22:40:37 -04:00