marblar/reddit_api — comment on commit 0423bb3839c00d2b09894a48a6aea40318be65b3
File: reddit/helpers.py line 100
By bboe:

Also just FYI, the way this patch is written won't actually correct the IncompleteRead as subsequent reads will simply return an empty result (if not an exception) because the file descriptor has already been closed. What would need to happen would be to reissue the entire request which my suggestion to move this error handling code will inevitably do.