[issue26499] http.client.IncompleteRead from HTTPResponse read after part reading file

SilentGhost report at bugs.python.org
Wed Mar 9 14:58:22 EST 2016


SilentGhost added the comment:

All the highlighted issue are now fixed. The limit on n in read1 wasn't tested.

Your suggestion regarding testing went a bit over my head, Martin. So, just trying to make sure we're on the same page. ExtendedReadTest, where I thought placing these new tests, is already employing FakeSocket, but I'm not sure how one would add a second response and to what. In any case, some of the code in that class seems rather specific, so it's not clear if it could or should be reused.

----------
Added file: http://bugs.python.org/file42106/issue26499_3.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26499>
_______________________________________


More information about the Python-bugs-list mailing list