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

Class HTTPSProxyConnection

source code


Nested Classes [hide private]

Inherited from HTTPConnection: response_class

Instance Methods [hide private]
 
__init__(self, proxy, host, port=None, username=None, password=None, trusted_certs=None, timeout=120) source code
 
connect(self)
Connect to the host and port specified in __init__.
source code
 
putrequest(self, method, url, skip_host=0)
Send a request to the server.
source code
 
_add_proxy_headers(self) source code

Inherited from HTTPProxyConnection (private): _set_hostport

Inherited from HTTPConnection: getresponse, set_callback, set_user_agent

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

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

Class Variables [hide private]
  default_port = 443

Inherited from httplib.HTTPConnection: auto_open, debuglevel, strict

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

Method Details [hide private]

__init__(self, proxy, host, port=None, username=None, password=None, trusted_certs=None, timeout=120)
(Constructor)

source code 
Overrides: httplib.HTTPConnection.__init__

connect(self)

source code 

Connect to the host and port specified in __init__.

Overrides: httplib.HTTPConnection.connect
(inherited documentation)

putrequest(self, method, url, skip_host=0)

source code 
Send a request to the server.

`method' specifies an HTTP request method, e.g. 'GET'.
`url' specifies the object being requested, e.g. '/index.html'.
`skip_host' if True does not add automatically a 'Host:' header
`skip_accept_encoding' if True does not add automatically an
   'Accept-Encoding:' header

Overrides: httplib.HTTPConnection.putrequest
(inherited documentation)

_add_proxy_headers(self)

source code 
Overrides: HTTPProxyConnection._add_proxy_headers