Multiple Fixes #267

Merged
michaelhelmick merged 11 commits from requests2 into master 2013-09-25 10:52:52 -07:00
Showing only changes of commit 082528490e - Show all commits

View file

@ -102,8 +102,8 @@ Here is an example of sending the request through proxies:
client_args = { client_args = {
'proxies': { 'proxies': {
'http': '10.0.10.1:8000', 'http': 'http://10.0.10.1:8000',
'https': '10.0.10.1:8001', 'https': 'https://10.0.10.1:8001',
} }
} }
@ -122,8 +122,8 @@ or both (and set a timeout variable):
'User-Agent': 'My App Name' 'User-Agent': 'My App Name'
}, },
'proxies': { 'proxies': {
'http': '10.0.10.1:8000', 'http': 'http://10.0.10.1:8000',
'https': '10.0.10.1:8001', 'https': 'https://10.0.10.1:8001',
} }
'timeout': 300, 'timeout': 300,
} }