| | |
- BaseHandler
-
- CustomProxyHandler
- FTPHandler
-
- CacheFTPHandler
- FileHandler
- GopherHandler
- HTTPBasicAuthHandler
- HTTPDefaultErrorHandler
- HTTPDigestAuthHandler
- HTTPHandler
- HTTPRedirectHandler
- ProxyHandler
- UnknownHandler
- CustomProxy
- HTTPPasswordMgr
- exceptions.IOError(exceptions.EnvironmentError)
-
- URLError
-
- GopherError
- HTTPError(URLError, urllib.addinfourl)
- OpenerDirector
- OpenerFactory
- Request
class CustomProxy |
| |
# feature suggested by Duncan Booth
# XXX custom is not a good name |
| |
- __init__(self, proto, func=None, proxy_addr=None)
- # either pass a function to the constructor or override handle
- get_proxy(self)
- handle(self, req)
|
class HTTPDigestAuthHandler(BaseHandler) |
| |
An authentication protocol defined by RFC 2069
Digest authentication improves on basic authentication because it
does not transmit passwords in the clear. |
| |
- __init__(self)
- add_parent(self, parent) from BaseHandler
- close(self) from BaseHandler
- get_algorithm_impls(self, algorithm)
- get_authorization(self, req, chal)
- get_entity_digest(self, data, chal)
- http_error_401(self, req, fp, code, msg, headers)
- retry_http_digest_auth(self, req, auth)
|
class HTTPRedirectHandler(BaseHandler) |
| |
|
| |
- add_parent(self, parent) from BaseHandler
- close(self) from BaseHandler
- http_error_301 = http_error_302(self, req, fp, code, msg, headers)
- http_error_302(self, req, fp, code, msg, headers)
- # Implementation note: To avoid the server sending us into an
# infinite loop, the request object needs to track what URLs we
# have already seen. Do this by adding a handler-specific
# attribute to the Request object.
|
|