Merge pull request #104 from looperhacks/patch-1

get_proxy is undefined in _Request, the network was missing here.
This commit is contained in:
Hugo 2014-12-23 12:05:45 +02:00
commit 32a6235f32

View file

@ -1109,7 +1109,7 @@ class _Request(object):
if self.network.is_proxy_enabled(): if self.network.is_proxy_enabled():
conn = HTTPConnection( conn = HTTPConnection(
host=self._get_proxy()[0], port=self._get_proxy()[1]) host=self.network._get_proxy()[0], port=self.network._get_proxy()[1])
try: try:
conn.request( conn.request(