Skip to content

Commit b806235

Browse files
Update web_request.py
1 parent e4cb996 commit b806235

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aiohttp/web_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ async def post(self) -> "MultiDictProxy[str | bytes | FileField]":
715715
)
716716
chunk = await field.read_chunk(size=2**16)
717717
while chunk:
718-
chunk = field.decode(chunk)
718+
chunk = await field.decode(chunk)
719719
await self._loop.run_in_executor(None, tmp.write, chunk)
720720
size += len(chunk)
721721
if 0 < max_size < size:

0 commit comments

Comments
 (0)