projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc0565f
)
fixed proxy
author
ben
<ben@yyer.org>
Tue, 15 Nov 2011 02:59:39 +0000
(10:59 +0800)
committer
ben
<ben@yyer.org>
Tue, 15 Nov 2011 02:59:39 +0000
(10:59 +0800)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index
bff73cb
..
da9abd3
100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-377,7
+377,7
@@
class Request(object):
proxy = self.proxies.get(_p.scheme)
if proxy:
- conn = poolmanager.proxy_from_url(
url
)
+ conn = poolmanager.proxy_from_url(
proxy
)
else:
# Check to see if keep_alive is allowed.
if self.config.get('keep_alive'):