diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 5c169c07e87..b310a3e59c1 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -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