fixed proxy

This commit is contained in:
ben
2011-11-15 10:59:39 +08:00
parent fc0565fa5d
commit 35b0c5e16e
+1 -1
View File
@@ -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'):