New submission from Jacky:
HTTPResponse.close() in httplib should consume all remaining data in body if
any. Or the followed request would get the unread content from the previous
request, which result in the wrong result.
The following code shown that the second request will get a wrong
Jacky added the comment:
In my opinion, HTTPResponse.close() should do really close work. Not only
releasing the underlying file obj but also need to consume the remaining data
to make sure the request complete.
If close() does not consume the remaining data, the user would have to do it