gh-115997: Make HTTPResponse.read1 and readline raise IncompleteRead#115998
gh-115997: Make HTTPResponse.read1 and readline raise IncompleteRead#115998illia-v wants to merge 14 commits intopython:mainfrom
HTTPResponse.read1 and readline raise IncompleteRead#115998Conversation
…mpleteRead`
|
@serhiy-storchaka could you please take a look at this PR? It's similar to #113199 |
vadmium
left a comment
There was a problem hiding this comment.
Current changes would be better than nothing, but I hope my suggestion would also fix the case of readline with an incomplete line
@vadmium please check if my last changes fix the case |
vadmium
left a comment
There was a problem hiding this comment.
I have only looked at the changes, not tried running them. They look worthwhile to me, although there is room for improving the tests.
|
Looks okay to me |
@vadmium thank you for the review! Do you think it can be merged before 3.14's betas? |
|
This PR is stale because it has been open for 30 days with no activity. |
read1andreadlineofhttp.client.HTTPResponsedo not raiseIncompleteRead#115997