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 = {
'proxies': {
'http': '10.0.10.1:8000',
'https': '10.0.10.1:8001',
'http': 'http://10.0.10.1:8000',
'https': 'https://10.0.10.1:8001',
}
}
@ -122,8 +122,8 @@ or both (and set a timeout variable):
'User-Agent': 'My App Name'
},
'proxies': {
'http': '10.0.10.1:8000',
'https': '10.0.10.1:8001',
'http': 'http://10.0.10.1:8000',
'https': 'https://10.0.10.1:8001',
}
'timeout': 300,
}