[issue39371] http.client.HTTPResponse raises IncompleteRead on chunked encoding
Arden added the comment: Pythons 3.5-3.7 also have self.chunk_left = 0 in _readinto_chunked I think it's bug but I didn't check it thoroughly -- ___ Python tracker <https://bugs.python.o
[issue39371] http.client.HTTPResponse raises IncompleteRead on chunked encoding
New submission from Arden : http.client.HTTPResponse._readinto_chunked has two problems in python 3.8 - 3.9. 1. _safe_readinto assumes that self.fp.readinto(b) will read exactly len(b) bytes. This is not always true, especially in case of SSL traffic. But _safe_readinto raises IncompleteRead