Skip to content

Commit ba06464

Browse files
[PR #11336/63c4d0da backport][3.12] Fix backwards compatibility for .write_bytes() (#11337)
Co-authored-by: Sam Bull <[email protected]>
1 parent be84212 commit ba06464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aiohttp/client_reqrep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@ async def write_bytes(
13261326
self,
13271327
writer: AbstractStreamWriter,
13281328
conn: "Connection",
1329-
content_length: Optional[int],
1329+
content_length: Optional[int] = None,
13301330
) -> None:
13311331
"""
13321332
Write the request body to the connection stream.

0 commit comments

Comments
 (0)