Ian Cordasco
f554ec7987
Merge pull request #3762 from nateprewitt/update_30_hist
...
updating 3.0 history
2016-12-10 07:57:44 -06:00
Nate Prewitt
f1a707d191
updating 3.0 history
2016-12-09 12:55:58 -07:00
Cory Benfield
78fe2f738c
Merge pull request #3761 from nateprewitt/3753_revert_int_exception
...
re-restrict params for _basic_auth_str in 3.0.0
2016-12-09 15:29:17 +00:00
Nate Prewitt
500dc75c8c
remove allowance of non-string/bytes auth values
2016-12-09 08:26:13 -07:00
Cory Benfield
c7e5c0d2b7
Merge branch 'master' into proposed/3.0.0
2016-12-09 14:49:18 +00: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
4dae8de815
Merge branch 'master' into proposed/3.0.0
2016-12-09 08:45:34 +00: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
ba7c464a03
Merge branch 'master' into proposed/3.0.0
2016-12-08 09:16:51 +00: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
Nate Prewitt
264f5bd5e1
adding unicode_is_ascii utility function
2016-11-21 08:22:41 -07:00
Nate Prewitt
d52e9b8c80
updated tests with IDNA encoded and IPv6 urls
2016-11-21 08:22:37 -07:00
kennethreitz
268672ab33
Update sidebarlogo.html
2016-11-20 22:49:17 -05:00
kennethreitz
3b956495c1
Update sidebarintro.html
2016-11-20 22:48:43 -05:00
Dmitry Klimenko
3b84be3c99
changed behavior of basic-http-auth test
2016-11-18 20:39:55 +03:00
Dmitry Klimenko
e15280e49d
fixed: httpbin with unicode auth
2016-11-18 19:04:51 +03:00
Dmitry Klimenko
55dea233ce
fixed some error
2016-11-18 15:19:43 +03:00
Dmitry Klimenko
4f0efdb77e
unicode test for _basic_auth_str
2016-11-18 13:31:31 +03:00
Dmitry Klimenko
7c4821231f
Fixed: httpbin doesn't support bytes
2016-11-18 13:14:08 +03:00
Dmitry Klimenko
bf3e960e15
fixed usage unicode string
2016-11-17 23:13:03 +03:00
Cory Benfield
53d4a1feee
Merge pull request #3704 from afeld/patch-1
...
clarify that the `chunk_size` is optional when streaming to a file
2016-11-17 17:27:47 +00:00
Aidan Feldman
ed3ba3dbb8
correct backtick formatting
2016-11-17 12:26:19 -05:00
Dmitry Klimenko
37bde4b638
added unicode auth test
2016-11-17 20:22:32 +03:00
Aidan Feldman
5562c0f097
clarify that the chunk_size is optional when streaming to a file
2016-11-17 12:21:58 -05:00
Dmitry Klimenko
2185fac626
remove extra import
2016-11-17 19:52:13 +03:00