Andrii Soldatenko
2bcaff99ea
Added python 3.6.0
2017-01-09 00:40:32 +02:00
kennethreitz
57933d4d45
Merge pull request #3796 from nateprewitt/https_doc_fix
...
updating https demo urls
2017-01-05 01:17:22 -05:00
Nate Prewitt
f5c5536916
updating https demo urls
2017-01-04 15:23:23 -07:00
Cory Benfield
edf09ada17
Merge pull request #3795 from AdamWill/tests-require-pytest-mock
...
Require pytest-mock for the tests
2016-12-30 18:14:59 +00:00
Adam Williamson
33b29be8cf
Require pytest-mock for the tests
...
test_requests.py `test_session_close_proxy_clear` uses the
`mocker` fixture, which is provided by pytest-mock.
2016-12-30 09:40:12 -08:00
Cory Benfield
b9d282b6b7
Merge pull request #3791 from evgen231/master
...
Fixed detection of utf-32-be by BOM.
2016-12-29 09:41:23 +00:00
Герасименко Евгений
0cb6ddaecf
Fixed tests for python 2.x.
2016-12-29 10:30:56 +07:00
Герасименко Евгений
1c34ac3ae6
Fixed detection of utf-32-be by BOM.
2016-12-29 10:21:32 +07:00
kennethreitz
8e0a532cad
wonder when 3.6 will be available on travis
2016-12-23 13:08:52 -05:00
John Dingee
5aa6661587
fix urllib3 documentation link ( #3785 )
2016-12-21 13:08:45 -05:00
Marcin Płonka
bc8b29099e
updating idna.uts46data from upstream project ( #3781 )
...
* updating idna.uts46data from upstream project
* removing redundant find/sed in idna update
* Revert "updating idna.uts46data from upstream project"
This reverts commit 0150cee7057dbdcefa1a2fbe2e8617ad0cba5216.
2016-12-21 10:59:34 -05:00
kennethreitz
c3fb8e020b
we support python 3.6
2016-12-20 13:25:30 -05:00
kennethreitz
789f21807d
python 2.6 compatibiliby
2016-12-20 13:16:14 -05:00
kennethreitz
ba6e948835
skipping pypy for now
2016-12-20 13:10:45 -05:00
kennethreitz
ddde5cd85b
travis and saythanks icons in readme
2016-12-20 12:54:00 -05:00
kennethreitz
5a280a11bc
we don't support python 3.2
2016-12-20 12:50:22 -05:00
kennethreitz
daebd6b807
empty commit
2016-12-20 12:47:39 -05:00
kennethreitz
e127ecab3f
add pypy to travis.yml
2016-12-20 12:42:52 -05:00
kennethreitz
30bcd55fb9
basic travis.yml file
2016-12-20 12:41:47 -05:00
Cory Benfield
1285f576ae
v2.12.4
v2.12.4
2016-12-14 11:37:52 +00:00
Cory Benfield
9726f5314e
Merge pull request #3766 from nateprewitt/1979_test_401
...
testing HTTPDigestAuth hooks
2016-12-14 09:41:11 +00:00
Nate Prewitt
1da1213561
add socket tests for 401 redirect and 401 failure
2016-12-13 14:43:16 -07:00
Cory Benfield
4683f16990
Merge pull request #3760 from sigmavirus24/deprecation-warning
...
Add deprecation warnings for 3.0
2016-12-09 14:48:42 +00:00
Ian Cordasco
fae6701478
Add deprecation warnings for 3.0
...
Add extra test parameter for basic auth encoding
2016-12-09 08:43:54 -06:00
Cory Benfield
449d74842d
Merge pull request #3758 from nateprewitt/3753_allow_non_string_params_basic_auth
...
adding string casting for non-bytes values
2016-12-09 08:45:14 +00:00
Nate Prewitt
576b447a37
adding string casting for non-bytes values
2016-12-08 21:13:14 -07:00
Cory Benfield
11a86a5651
Merge pull request #3754 from nateprewitt/3066_auth_and_data
...
test auth doesn't generate incorrect http headers
2016-12-08 09:05:12 +00:00
Nate Prewitt
13716728e7
minor doc string cleanup
2016-12-04 12:11:09 -07:00
Casey Davidson
14d71fd41a
Test chunked upload doesn't set content length
2016-12-04 12:01:07 -07:00
Casey Davidson
2d2c831d07
Add tests to verify that correct 'Content-Length' or 'Transfer-Encoding' headers are being set in PreparedRequest.
2016-12-04 12:00:57 -07:00
Cory Benfield
c398ab0e7d
v2.12.3
v2.12.3
2016-12-01 10:48:35 +00:00
Cory Benfield
7d2dfa8684
Merge pull request #3738 from Lukasa/revert-exclusion-patch
...
Revert "Restrict URL preparation to HTTP/HTTPS"
2016-12-01 10:45:25 +00:00
Cory Benfield
6f659a4179
Tests for our URL handling.
2016-11-30 21:45:09 +00:00
Cory Benfield
402a55b647
Revert "Restrict URL preparation to HTTP/HTTPS"
...
This reverts commit 34af72c87d .
2016-11-30 21:19:31 +00:00
Cory Benfield
ca15d48087
v2.12.2
v2.12.2
2016-11-30 12:38:26 +00:00
Cory Benfield
5c4549493b
Merge pull request #3695 from nateprewitt/idna_bypass
...
idna bypass
2016-11-25 13:18:01 +00:00
Cory Benfield
36c9c8c3de
Merge pull request #3718 from nsoranzo/master
...
Make Response.content() return None for an empty response
2016-11-24 13:35:37 +00:00
Nicola Soranzo
f897be58bf
Make Response.content return None if raw is None
...
Add test.
2016-11-24 12:54:26 +00:00
kennethreitz
dfad00a6e8
Update README.rst
2016-11-23 20:10:44 -05:00
kennethreitz
d5e050da85
Update README.rst
2016-11-23 20:10:04 -05:00
kennethreitz
1ec08bedd4
links
2016-11-23 20:00:33 -05:00
kennethreitz
724ae1274e
new logo :D
...
https://kennethreitz.org/tattoos
2016-11-23 19:58:18 -05:00
Nicola Soranzo
4f428228d7
Make Response.content() return None if status_code is None
...
Fix #3698 .
2016-11-23 21:15:07 +00:00
Cory Benfield
ccabcf1fca
Merge pull request #3717 from nateprewitt/streaming_docs
...
streaming doc clarification
2016-11-23 10:17:31 +00:00
Nate Prewitt
4f9d0e0455
streaming doc clarification
2016-11-21 14:17:28 -07:00
Cory Benfield
b9f1c448f7
Merge pull request #3673 from klimenko-forks/auth-unicode
...
Enable unicode in basic http auth
2016-11-21 19:27:39 +00:00
Cory Benfield
22ec73d71a
Merge pull request #3713 from tiran/strict_http_protocol_check
...
Restrict URL preparation to HTTP/HTTPS
2016-11-21 19:13:56 +00:00
Dmitry Klimenko
005f93fd0f
added new test, original test restored
2016-11-21 21:42:44 +03:00
Christian Heimes
34af72c87d
Restrict URL preparation to HTTP/HTTPS
...
Requests treats all URLs starting with the string 'http' as HTTP URLs.
Preparation with IDNA breaks non-standard URIs like http+unix. Requests
now prepares only URLs with prefix http:// and https://.
Signed-off-by: Christian Heimes <christian@python.org >
2016-11-21 18:46:57 +01:00
Nate Prewitt
a83685ce00
modifying IDNA encoding check to allow fallback
2016-11-21 08:22:42 -07:00