diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 8f4fb91da6f..b498e6ef3b4 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -569,7 +569,7 @@ def __del__(self, _warnings=warnings): def __repr__(self): out = io.StringIO() - ascii_encodable_url = str(self.url) + ascii_encodable_url = str(self.url_obj) if self.reason: ascii_encodable_reason = self.reason.encode('ascii', 'backslashreplace') \