Jeremy Cline
35bdfc78c9
Keep `verify` setting when no CA_BUNDLE variable exists
...
If the ``trust_env`` flag is set on a session and ``verify`` is ``True``
or ``None``, the environment is checked for ``CURL_CA_BUNDLE`` and
``REQUESTS_CA_BUNDLE``. Before this patch, if neither existed,
``verify`` would always be set to ``None`` rather than ``True`` even if
it was originally ``True``.
Signed-off-by: Jeremy Cline <jeremy@jcline.org >
2016-10-24 20:32:12 -04:00
Cory Benfield
50486cf2be
Merge pull request #3620 from Lukasa/better-idna
...
Better support for internationalized domain names.
2016-10-21 13:09:04 +01:00
Cory Benfield
d14401f799
Merge pull request #3631 from lovedboy/master
...
little modification in consume_socket_content
2016-10-21 09:58:30 +01:00
lovedboy
d587533446
little modification in consume_socket_content
2016-10-21 16:55:58 +08:00
Cory Benfield
83fcabc5bd
Merge pull request #3625 from mie00/tellioerror
...
fix issue when the file-like object raises an IOError with tell
2016-10-21 08:20:37 +01:00
Cory Benfield
e7f5bd634d
Check in updated idna.
2016-10-19 13:19:50 +01:00
Cory Benfield
41b4658738
Further complicate the makefile to rewrite imports
2016-10-19 13:19:37 +01:00
Mohamed Elawadi
f5b5c293b9
fix issue when the file-like object raises an IOError with tell
2016-10-18 11:09:25 +02:00
Ian Cordasco
b8f4c7c7ff
Merge pull request #3621 from Lukasa/fix-packaging
...
Add a missing backport.
2016-10-14 11:38:33 -05:00
Ian Cordasco
c13e313f5a
Merge pull request #3622 from Lukasa/better-makefile
...
Update makefile to only ship tagged releases.
2016-10-14 11:38:17 -05:00
Cory Benfield
8dd51d22fc
Enable UTS46 mode.
2016-10-14 15:13:37 +01:00
Cory Benfield
ae82300073
We only ship tagged releases now.
2016-10-14 11:06:25 +01:00
Cory Benfield
f19d30a670
Seems like we're missing a backport here.
2016-10-14 10:58:26 +01:00
Cory Benfield
110684ea02
Changelog entry for better IDNA.
2016-10-14 10:54:55 +01:00
Cory Benfield
9337b4d95d
Basic tests for internationalized domain names.
2016-10-14 10:53:15 +01:00
Cory Benfield
49b69b57db
Various packaging requirements for idna
2016-10-14 10:21:24 +01:00
Cory Benfield
27812eb902
Use IDNA2008 to encode hosts.
2016-10-14 10:17:52 +01:00
Cory Benfield
35056b1de6
Add license for idna package.
2016-10-14 10:12:16 +01:00
Cory Benfield
3c680cc1c6
Vendor idna v2.1
2016-10-14 10:10:54 +01:00
Cory Benfield
dfb4ef7be0
Add makefile to get latest idna release.
2016-10-14 10:10:17 +01:00
Ian Cordasco
8f37cf79c3
Merge pull request #3617 from Lukasa/jeremycline
...
Note that @jeremycline is now our contact.
2016-10-13 09:08:10 -05:00
Cory Benfield
45478d5be1
Note @jeremycline is now our contact.
2016-10-13 13:28:19 +01:00
Cory Benfield
d0f7a51dd8
Merge branch 'TetraEtc-docs-custom-verbs'
2016-10-12 11:11:17 +01:00
Cory Benfield
02ab1ba5bd
Let's use capitals.
2016-10-12 11:11:05 +01:00
Stewart Polley
341bed9e17
Add Documentation for custom methods
2016-10-08 06:22:07 +10:00
Ian Cordasco
7322a09379
Merge pull request #3607 from frankier/dont-swallow-attributeerror
...
Remove error swallowing exception catching of AttributeError
2016-09-30 07:17:17 -05:00
Ian Cordasco
5a41febce2
Merge pull request #3109 from jeremycline/use-pool-keys-by-scheme
...
HTTPAdapter now updates its PoolManager connection_pool_kw
2016-09-29 15:30:31 -05:00
Frankie Robertson
327512f5ef
Remove error swallowing exception catching of AttributeError
2016-09-29 23:07:16 +09:00
Cory Benfield
022e23c977
Merge pull request #3606 from bbamsch/httpbinTestFix
...
Issue #3597 - Rework Bytestring Host Test to use PyTest Httpbin
2016-09-29 08:09:22 +01:00
Brian Bamsch
5c15fffaca
Rework Bytestring Host Test to use PyTest Httpbin
2016-09-28 20:48:27 -07:00
Cory Benfield
1ac56f1343
Merge pull request #3604 from iamprakashom/master
...
fixes broken link on documentation page
2016-09-28 12:32:53 +01:00
Om Prakash
ed0570bc2b
updates authors
...
updates AUTHORS for #3603
2016-09-28 16:38:51 +05:30
Om Prakash
06920cc266
fixes broken link on documentation page
...
Issue #3603
2016-09-28 16:34:02 +05:30
Cory Benfield
5eabcb7a2f
Merge pull request #3598 from bbamsch/bytestringHostFix
...
Issue #3597 - Avoid bytestring/str hodgepodge when resolving cookie from Request URL
2016-09-28 08:56:38 +01:00
Brian Bamsch
087aeacee5
Change module of internal references to to_native_str()
2016-09-27 20:41:21 -07:00
Brian Bamsch
3ac70defff
Update Comments & Magic Strings
2016-09-27 20:41:17 -07:00
Cory Benfield
9a0b392dee
Merge pull request #3600 from frewsxcv/patch-1
...
Indicate shell command in HISTORY is code-like.
2016-09-27 08:06:27 +01:00
Brian Bamsch
f002b73026
Move to_native_string to _internal_utils.py to avoid circular dependency
2016-09-26 21:41:01 -07:00
Corey Farwell
ae83352bbd
Indicate shell command in README is code-like.
2016-09-26 16:21:07 -04:00
Brian Bamsch
2af059797a
Adjust patch to utilize requests utility functions
...
Use the utility class provided by requests to do native string
transformation rather than recreating the wheel.
2016-09-26 09:14:51 -07:00
Brian Bamsch
550dc19099
Add line to AUTHORS
...
Credit where credit is due 😄
2016-09-25 22:22:33 -07:00
Brian Bamsch
01e405c611
Add patch to avoid bytestring/str hodgepodge
...
When patching Host header into URL, verify that host type matches
urlparse return type before putting it all back together
2016-09-25 22:18:45 -07:00
Brian Bamsch
b28531f4bb
Add test for request when Host header is bytestring
...
Request should successfully set cookie in response, fail if cookie fails
to set as will occur in current state when cookie set tries lookup of
domain
2016-09-25 22:10:57 -07:00
Cory Benfield
439451c3d4
Merge pull request #3591 from nateprewitt/3579_cookie_merge
...
Fix RequestsCookieJar specific update call
2016-09-23 10:32:51 +01:00
Ian Cordasco
9407d697c8
Merge pull request #3545 from nateprewitt/new_prepare_content_length
...
removing redundant logic from prepare_content_length
2016-09-22 07:49:57 -05:00
Nate Prewitt
31b35ab838
removing redundant logic from prepare_content_length
2016-09-21 16:37:28 -06:00
Cory Benfield
233a5da664
Merge pull request #3594 from nateprewitt/move_3576_to_Proposed300
...
#3576 for Proposed/3.0.0
2016-09-21 10:41:00 +01:00
Nate Prewitt
08a158f486
converting update call to merge_cookies call for cookielib compatibility
2016-09-20 12:20:00 -06:00
Nate Prewitt
563d6572f3
reverting 3357 and comparing properly encoded strings
2016-09-20 10:21:14 -06:00
Ian Cordasco
ddf7df9b00
Merge pull request #3576 from nateprewitt/3557_revert_and_fix_encoding
...
Fix encoding issue in test_response_reason_unicode_fallback
2016-09-20 09:48:40 -05:00