Closed
Description
Long story short:
Should be mimic to asyncio.StreamReader counterpart: https://docs.python.org/3/library/asyncio-stream.html#asyncio.StreamReader.readuntil
(Re-opening #1151)
This solution is great to have in the toolbox dealing with pulling high-load data from servers that don't declare their response content-length. Currently I run into partial content.read() intermittently under high-load situations e.g. (#3881).
Activity
asvetlov commentedon Sep 10, 2019
You can master something with
content.readany()
already without waiting for a new aiohttp version.Added reference to aio-libs#4054 feature in CHANGES
abeeeshek commentedon Sep 21, 2020
something i am currently dealing with, @asvetlov can you review the PR #4734 @WisdomPill, i can pitch in for the remaining task.
WisdomPill commentedon Sep 21, 2020
What is the remaining task?
Added reference to aio-libs#4054 feature in CHANGES
asvetlov commentedon Nov 2, 2020
Fixed by #4734