An HTTPS Connection that uses a proxy and the CONNECT request.
When the connection is initiated, CONNECT is first sent to the proxy
(along with authorization headers, if supplied). If successful, an SSL
connection will be established over the socket through the proxy and to
the target host.
Finally, the actual request is sent over the SSL connection tunneling
through the proxy.
|
__init__(self,
host,
port=None,
strict=None,
username=None,
password=None,
**ssl)
Create the ProxyHTTPSConnection object. |
|
|
|
putrequest(self,
method,
url,
skip_host=0,
skip_accept_encoding=0)
Send a request to the server. |
|
|
|
putheader(self,
header,
value)
Send a request header line to the server. |
|
|
|
endheaders(self)
Indicate that the last header line has been sent to the server. |
|
|
|
connect(self)
Connect to the host and port specified in __init__. |
|
|
Inherited from HTTPSConnection :
close ,
get_session ,
set_session
Inherited from httplib.HTTPConnection :
getresponse ,
request ,
send ,
set_debuglevel
|