Previous: 11.5.4 HTTPRedirectHandler Objects Up: 11.5 urllib2 Next: 11.5.6 HTTPPasswordMgr Objects


11.5.5 ProxyHandler Objects

protocol_open(request)
The ProxyHandler will have a method protocol_open() for every protocol which has a proxy in the proxies dictionary given in the constructor. The method will modify requests to go through the proxy, by calling request.set_proxy(), and call the next handler in the chain to actually execute the protocol.


Previous: 11.5.4 HTTPRedirectHandler Objects Up: 11.5 urllib2 Next: 11.5.6 HTTPPasswordMgr Objects
Release 2.2.3, documentation updated on 30 May 2003.
See About this document... for information on suggesting changes.

AltStyle によって変換されたページ (->オリジナル) /