Skip to content

Commit

Permalink
Update client_reqrep.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer committed Nov 10, 2023
1 parent 295800d commit f45d9e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aiohttp/client_reqrep.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,7 @@ class ClientResponse(HeadersMixin):
# post-init stage allows to not change ctor signature
_closed = True # to allow __del__ for non-initialized properly response
_released = False
__writer = None

def __init__(
self,
Expand All @@ -725,7 +726,7 @@ def __init__(
self._real_url = url
self._url = url.with_fragment(None)
self._body: Optional[bytes] = None
self.__writer: Optional[asyncio.Task[None]] = writer
self._writer: Optional[asyncio.Task[None]] = writer
self._continue = continue100 # None by default
self._closed = True
self._history: Tuple[ClientResponse, ...] = ()
Expand Down

0 comments on commit f45d9e4

Please sign in to comment.