Cory Benfield
8b92d9989b
Merge pull request #2973 from sigmavirus24/no-distutils-fallback
...
Stop falling back to distutils in setup.py
2016-01-20 13:54:58 +00:00
Ian Cordasco
5f2fef5bb5
Stop falling back to distutils in setup.py
...
distutils has been deprecated for years now and pip is refusing to install
projects using it. As such, *some* users are reporting problems installing
requests. Let's avoid this entirely by not falling back to distutils at all.
2016-01-20 07:51:42 -06:00
Ryan Munro
5a18066c45
Fix Python 3.x tests for TooManyRedirects API
2016-01-19 16:59:18 -08:00
Ryan Munro
e6f218f3f6
Return request & response with TooManyRedirects
2016-01-19 16:44:58 -08:00
kennethreitz
6592dbc29b
github_banner
2016-01-15 18:57:40 -05:00
kennethreitz
851d65efb7
remove hellobar
2016-01-15 18:55:26 -05:00
kennethreitz
7250665297
Python 3.5
2016-01-15 18:45:17 -05:00
kennethreitz
f9d5cbe5b5
add github banner
2016-01-15 18:44:56 -05:00
kennethreitz
07d8c28a75
align rezzy the sea turtle
2016-01-15 18:41:30 -05:00
kennethreitz
820d31d5e2
Merge pull request #2915 from onceuponatimeforever/alabaster_sphinx_theme
...
Switch to alabaster sphinx theme in the docs
2016-01-15 18:35:03 -05:00
kennethreitz
fe0850f341
Update conf.py
2016-01-15 17:57:46 -05:00
Nicolas Delvaux
06df08e676
Add equality functions for authentication handlers
2016-01-04 17:01:06 +01:00
Cory Benfield
a3acd30bcc
Socks extra
2015-12-31 09:19:45 +00:00
Cory Benfield
e4d15c4649
Help @sigmavirus24 with code golf.
2015-12-30 16:45:51 +00:00
Cory Benfield
11b9b24ac9
Some code cleanups.
2015-12-30 14:37:53 +00:00
Cory Benfield
1c54014daf
Don't parse nonexistent URLs.
2015-12-30 10:48:29 +00:00
Cory Benfield
39ee5d46dc
Silence SOCKS dependency warning on import
2015-12-30 10:40:30 +00:00
Cory Benfield
08364c6739
Add support for SOCKS
2015-12-30 10:40:24 +00:00
Cory Benfield
396963ac7e
Temporary urllib3 patch
2015-12-30 10:40:12 +00:00
Cory Benfield
cd84b3ff94
Update to urllib3 1.14
2015-12-30 10:07:16 +00:00
Cory Benfield
cbb0830ee9
Merge pull request #2948 from vincentbernat/patch-1
...
advanced: use "client.*" to designate client certificate
2015-12-28 15:58:54 +00:00
Vincent Bernat
f14f30817e
advanced: use "client.*" to designate client certificate
...
Using "server.crt" is confusing as one may try to put the server certificate while this is really the client certificate that should be put here. Instead, use "client.cert", "client.key" and "client.pem".
2015-12-28 16:21:53 +01:00
Cory Benfield
a1c9b8439c
Merge pull request #2945 from ibnIrshad/fixdocs-2062
...
Docs: clarify the precedence of `auth=` over `netrc`
2015-12-21 18:49:52 +00:00
Isa Hassen
fcb8c8d33b
Docs: clarify the precedence of auth= over netrc
...
This closes #2062 by clarifying in the docs which auth
header takes precedence:
1st auth=
2nd .netrc
3rd headers=
This precedence order is already tested in test_requests.py,
in the test_basicauth_with_netrc method. Perhaps we should
add further tests for non-basic auth schemes.
2015-12-21 11:52:45 -05:00
Cory Benfield
1108058626
v2.9.1
v2.9.1
2015-12-21 14:53:36 +00:00
Ian Cordasco
06a411c289
Merge pull request #2937 from Lukasa/release/2.9.1
...
Release 2.9.1
2015-12-21 08:51:21 -06:00
Ian Cordasco
728c318080
Merge pull request #2936 from Lukasa/netrc_with_bytes_url
...
Handle bytes and unicode URLs for netloc
2015-12-19 11:34:34 -06:00
Cory Benfield
6e0649d9f8
Push code review advice from @sigmavirus24
2015-12-19 08:44:21 +00:00
Cory Benfield
46b7f19857
Changelog for urllib3 update
2015-12-19 08:41:51 +00:00
Cory Benfield
834a9601c3
Update urllib3 to 1.13.1
2015-12-19 08:40:39 +00:00
Cory Benfield
b444f21b1f
Update changelog for 2.9.1
2015-12-18 09:54:42 +00:00
Cory Benfield
589f13ca9d
Handle bytes and unicode URLs for netloc
2015-12-18 09:22:23 +00:00
Cory Benfield
f7cb796241
Merge branch 'fix-1859'
2015-12-18 09:18:10 +00:00
Cory Benfield
96a068b58e
Merge branch 'master' into fix-1859
2015-12-18 09:14:13 +00:00
Ian Cordasco
b32c3bc10f
Merge pull request #2931 from Lukasa/uploading_bytes
...
Fix regression from #2844 regarding binary bodies.
2015-12-16 09:20:26 -06:00
Cory Benfield
fc8fa1aa26
Fix regression from #2844 regarding binary bodies.
2015-12-16 14:56:13 +00:00
Cory Benfield
5f7a3a74aa
v2.9.0
v2.9.0
2015-12-15 15:29:27 +00:00
Ian Cordasco
046a0f215d
Merge pull request #2927 from Lukasa/release/2.9.0
...
Prepare 2.9.0 release.
2015-12-15 09:26:56 -06:00
Cory Benfield
424fe263d8
Suggested wording from @sigmavirus24
2015-12-15 15:20:26 +00:00
Cory Benfield
2f744b5010
Update 2.9.0 release log.
2015-12-15 14:59:14 +00:00
Cory Benfield
3c0f0b9ab5
Update urllib3 to 1.13
2015-12-15 14:47:20 +00:00
Ian Cordasco
3d33f30436
Merge pull request #2926 from bsamek/master
...
Refactor default params
2015-12-11 16:13:53 -06:00
Brian Samek
9aca57d4bf
Revert changes to params
...
This reverts commit 9a20afd6b5 .
Docstring changes were desirable, but changes to params were not.
2015-12-11 16:47:47 -05:00
Brian Samek
9a20afd6b5
Refactor default params
...
Specified the default argument for params that have a default in the docstring
so that the default is easier to see from the code. Modified the docstring in
api.py to match the docstring in sessions.py.
2015-12-11 13:32:09 -05:00
Cory Benfield
2d91365cba
Merge pull request #2923 from bsamek/verifyparam
...
Add hint to :param verify.
2015-12-09 16:33:09 +00:00
Brian Samek
3ad66349ea
Add hint to :param verify.
...
It is not clear that :param verify defaults to True. The way the verify
portion of the docstring is written it looks like it defaults to False, and
you have to pass in True if you'd like the SSL cert to be verified, but the
opposite is the case.
2015-12-09 11:21:21 -05:00
Braulio Valdivielso Martínez
534ee814fc
Tested timeouts in text_response_server requests retrieval
2015-12-08 20:54:12 +01:00
Braulio Valdivielso Martínez
3eeea3771b
Added a way for TestServer request handlers to store data for later retrieval by the main thread (actual requests, for example)
2015-12-08 20:40:58 +01:00
Braulio Valdivielso Martínez
578b032555
Tested TestServer multiple request handling
2015-12-08 16:37:03 +01:00
Braulio Valdivielso Martínez
4a41c591f8
Tested text_response_server
2015-12-08 16:23:02 +01:00