11.5.8 AbstractBasicAuthHandler Objects

handle_authentication_request( authreq, host, req, headers)
Handle an authentication request by getting a user/password pair, and re-trying the request. authreq should be the name of the header where the information about the realm is included in the request, host is the host to authenticate to, req should be the (failed) Request object, and headers should be the error headers.


Python Library Reference
Previous: Up: 11.5 urllib2 Next:

Release 2.4.4, documentation updated on 18 October 2006.
See About this document... for information on suggesting changes.

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