Package rhn :: Module connections :: Class HTTPConnection
[hide private]
[frames] | no frames]

Class HTTPConnection

source code


Nested Classes [hide private]
  response_class
Instance Methods [hide private]
 
__init__(self, host, port=None, timeout=120) source code
 
set_callback(self, rs, ws, ex, user_data, callback) source code
 
set_user_agent(self, user_agent) source code
 
getresponse(self)
Get the response from the server.
source code
 
connect(self)
Connect to the host and port specified in __init__.
source code

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

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

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]

__init__(self, host, port=None, timeout=120)
(Constructor)

source code 
Overrides: httplib.HTTPConnection.__init__

getresponse(self)

source code 

Get the response from the server.

Overrides: httplib.HTTPConnection.getresponse

connect(self)

source code 

Connect to the host and port specified in __init__.

Overrides: httplib.HTTPConnection.connect
(inherited documentation)