b.t.h._.AbstractHTTPConnection : class documentation

Part of bzrlib.transport.http._urllib2_wrappers View In Hierarchy

Known subclasses: bzrlib.transport.http._urllib2_wrappers.HTTPConnection, bzrlib.transport.http._urllib2_wrappers.HTTPSConnection

A custom HTTP(S) Connection, which can reset itself on a bad response
Method __init__ Undocumented
Method getresponse Capture the response to be able to cleanup
Method cleanup_pipe Read the remaining bytes of the last response if any.
Method _mutter_connect Undocumented
Method _wrap_socket_for_reporting Wrap the socket before anybody use it.
def __init__(self, report_activity=None):
Undocumented
def _mutter_connect(self):
Undocumented
def getresponse(self):
Capture the response to be able to cleanup
def cleanup_pipe(self):
Read the remaining bytes of the last response if any.
def _wrap_socket_for_reporting(self, sock):
Wrap the socket before anybody use it.
API Documentation for Bazaar, generated by pydoctor at 2019-09-23 00:31:07.