Logo Search packages:      
Sourcecode: m2crypto version File versions  Download package

isaac::HTTPSProxyConnection Class Reference

Inheritance diagram for isaac::HTTPSProxyConnection:

isaac::HTTPProxyConnection

List of all members.


Detailed Description

This class provides HTTP access through (authenticated) proxies.

Example:
If the HTTP proxy address is proxy.your.org:8080, an authenticated proxy
(one which requires a username/password combination in order to serve
requests), one can fetch HTTP documents from 'www.webserver.net', port 81:

conn = HTTPProxyConnection('proxy.your.org:8080', 'www.webserver.net',
    port=81, username='username', password='password')
conn.connect()
conn.request("HEAD", "/index.html", headers={'X-Custom-Header-1' : 'Value-1'})
resp = conn.getresponse()
...

To avoid dealing with multiple inheritance, this class only inherits from
HTTPProxyConnection.

Definition at line 190 of file isaac.httpslib.py.


Public Member Functions

def __init__
def __init__
def connect
def putrequest

Public Attributes

 cert_file
 key_file
 response_class
 sock
 ssl_ctx

Static Public Attributes

 default_port = HTTPSConnection.default_port

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index