Package DebTorrent :: Module zurllib :: Class btHTTPcon
[hide private]
[frames] | no frames]

Class btHTTPcon

source code


Attempt to add automatic connection timeout to HTTPConnection.

Nested Classes [hide private]

Inherited from httplib.HTTPConnection: response_class

Instance Methods [hide private]
 
connect(self)
Redefine the connect to include a socket timeout.
source code

Inherited from httplib.HTTPConnection: __init__, close, endheaders, getresponse, putheader, putrequest, request, send, set_debuglevel

Inherited from httplib.HTTPConnection (private): _output, _send_output, _send_request, _set_hostport

Class Variables [hide private]

Inherited from httplib.HTTPConnection: auto_open, debuglevel, default_port, strict

Inherited from httplib.HTTPConnection (private): _http_vsn, _http_vsn_str

Method Details [hide private]

connect(self)

source code 
Redefine the connect to include a socket timeout.
Overrides: httplib.HTTPConnection.connect