kennethreitz
e8ccdd6343
same
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-15 11:15:22 -04:00
kennethreitz
aa7314e97a
python 3.6 syntax
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-15 11:07:09 -04:00
kennethreitz
0c722d9476
more __slots__
2018-03-15 11:04:25 -04:00
kennethreitz
5574076b05
__slots__
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-15 11:01:25 -04:00
kennethreitz
631076d600
__slots__
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-15 10:46:30 -04:00
kennethreitz
8a6bcfbe1a
validate
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-15 10:41:26 -04:00
kennethreitz
64d85b7ebf
use rfc8936
2018-03-15 10:39:26 -04:00
kennethreitz
6a27949e5f
rfc3986
2018-03-15 09:20:32 -04:00
kennethreitz
b2e99359fc
merge
2018-03-15 08:59:47 -04:00
kennethreitz
8a1baaf47b
white
2018-03-15 06:56:20 -04:00
kennethreitz
0b96f5282a
Merge branch '3.0' of github.com:requests/requests into 3.0
2018-03-14 17:29:06 -04:00
kennethreitz
9cea8ce09d
black
...
https://github.com/ambv/black
2018-03-14 17:28:51 -04:00
RatanShreshtha
38b29446b0
Type annoted requests/__init__.py.
2018-03-14 23:43:50 +05:30
kennethreitz
2bf628be3c
#4542
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-13 09:53:42 -04:00
Ratan.Kulshreshtha
12671d4819
Added type hints for help.py.
2018-03-13 12:10:51 +05:30
kennethreitz
272ea7db4e
fix redirects
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-12 13:44:07 -04:00
kennethreitz
f7a36c5866
catch non-keyword arguments
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-12 13:04:11 -04:00
kennethreitz
530db6c4b9
mypy improvements
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-12 12:59:59 -04:00
kennethreitz
c7d0f3ef01
better mypy compliance
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-12 12:56:09 -04:00
kennethreitz
db2aecbac8
-> types.Response
2018-03-12 12:52:08 -04:00
kennethreitz
fc4637032a
docstring
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-12 12:36:01 -04:00
kennethreitz
4239856a4a
types
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-12 12:02:05 -04:00
kennethreitz
f531629a9b
remove python2–specific code
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-12 11:58:21 -04:00
kennethreitz
8ba99d246b
basics
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-12 11:53:22 -04:00
kennethreitz
6be73f90b1
/s/compat/basics
2018-03-12 11:53:12 -04:00
kennethreitz
315a5661e3
new approach
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-12 11:47:09 -04:00
Jon Dufresne
4c6d9e1954
Remove requests.packages for v3.0.0
...
As v3.0.0 already includes other backwards incompatible changes, it is a
good time to remove the old entry point for vendored packages. Cleans up
compatibility shims.
2018-02-04 19:07:26 -08:00
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
Allan Crooks
a36247e148
Rename HTTPHeaderDict methods to getlist and setlist to be more consistent with other similar implementations.
2017-09-12 23:14:00 +01:00
Allan Crooks
5aef6e7583
Use HTTPHeaderDict for response headers.
2017-09-12 22:17:23 +01:00
Allan Crooks
95b127714b
Add HTTPHeaderDict data structure and tests.
2017-09-12 22:16:48 +01: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