Home | Trees | Indices | Help |
|
---|
|
HTTP (CONNECT) proxy connection class. Uses TCPsocket as the base class redefines only connect method. Allows to use HTTP proxies like squid with (optionally) simple authentication (using login and password).
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
Caches proxy and target addresses. 'proxy' argument is a dictionary with mandatory keys 'host' and 'port' (proxy address) and optional keys 'user' and 'password' to use for authentication. 'server' argument is a tuple of host and port - just like TCPsocket uses.
|
Starts connection. Used interally. Returns non-empty string on success.
|
Starts connection. Connects to proxy, supplies login and password to it (if were specified while creating instance). Instructs proxy to make connection to the target server. Returns non-empty sting on success.
|
Overwrites DEBUG tag to allow debug output be presented as "CONNECTproxy".
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Sep 25 18:45:14 2014 | http://epydoc.sourceforge.net |