Skip to content

Commit

Permalink
Fix #2810: Restore SSL proxy support
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Mar 8, 2018
1 parent b867dae commit 7b400d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp/client_reqrep.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def send(self, conn):
# - most common is origin form URI
if self.method == hdrs.METH_CONNECT:
path = '{}:{}'.format(self.url.raw_host, self.url.port)
elif self.proxy and not self.ssl:
elif self.proxy and not self.is_ssl():
path = str(self.url)
else:
path = self.url.raw_path
Expand Down

0 comments on commit 7b400d7

Please sign in to comment.