class documentation
class TunnelingTCP4ClientEndpoint(TCP4ClientEndpoint): (source)
An endpoint that tunnels through proxies to allow HTTPS downloads. To accomplish that, this endpoint sends an HTTP CONNECT to the proxy. The HTTP CONNECT is always sent when using this endpoint, I think this could be improved as the CONNECT will be redundant if the connection associated with this endpoint comes from the pool and a CONNECT has already been issued for it.
Method | __init__ |
Undocumented |
Method | connect |
Undocumented |
Method | connect |
Propagates the errback to the appropriate deferred. |
Method | process |
Processes the response from the proxy. If the tunnel is successfully created, notifies the client that we are ready to send requests. If not raises a TunnelError. |
Method | request |
Asks the proxy to open a tunnel. |
Class Variable | _response |
Undocumented |
Class Variable | _response |
Undocumented |
Class Variable | _truncated |
Undocumented |
Instance Variable | _connect |
Undocumented |
Instance Variable | _context |
Undocumented |
Instance Variable | _protocol |
Undocumented |
Instance Variable | _protocol |
Undocumented |
Instance Variable | _protocol |
Undocumented |
Instance Variable | _proxy |
Undocumented |
Instance Variable | _tunneled |
Undocumented |
Instance Variable | _tunneled |
Undocumented |
Instance Variable | _tunnel |
Undocumented |