You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
picnixz
changed the title
Incorrect http read_chunked for amt with negative value
Incorrect handling of negative reading sizes in HTTPResponse.read()Dec 26, 2024
Bug report
Bug description:
Param value
amt
can be negative, e.x. -1.In that case we read all data, with chunk separators, instead of correct reading.
P.S. example of using -1 here:
https://github.com/Textualize/rich/blob/master/rich/progress.py#L247
CPython versions tested on:
3.10, 3.11
Operating systems tested on:
Linux
Linked PRs
HTTPResponse.read()
#128270The text was updated successfully, but these errors were encountered: