Skip to content

Implement StreamReader.readuntil() method #4054

Closed
@yapith-suplari

Description

@yapith-suplari

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

asvetlov commented on Sep 10, 2019

@asvetlov
Member

You can master something with content.readany() already without waiting for a new aiohttp version.

added a commit that references this issue on May 11, 2020
abeeeshek

abeeeshek commented on Sep 21, 2020

@abeeeshek

something i am currently dealing with, @asvetlov can you review the PR #4734 @WisdomPill, i can pitch in for the remaining task.

WisdomPill

WisdomPill commented on Sep 21, 2020

@WisdomPill
Member

What is the remaining task?

added a commit that references this issue on Nov 1, 2020
asvetlov

asvetlov commented on Nov 2, 2020

@asvetlov
Member

Fixed by #4734

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @asvetlov@WisdomPill@yapith-suplari@abeeeshek

        Issue actions

          Implement StreamReader.readuntil() method · Issue #4054 · aio-libs/aiohttp