C. Scott Ananian <[EMAIL PROTECTED]> added the comment:
FWIW, the following code works around the issue for me:
class HTTPConnection(httplib.HTTPConnection):
def request(self, method, url, body=None, headers={}):
# patch upstream to recv() after we send, so that a
New submission from C. Scott Ananian <[EMAIL PROTECTED]>:
Although HTTP/1.1 says that servers SHOULD send a Connection: close
header if they intend to close a persistent connection (sec 8.1.2.1),
clients (like httplib) "MUST be able to recover from asynchronous close
events. Clie