OpenerDirector instances have the following methods:
| handler) |
http) protocol.
| url[, data]) |
| proto[, arg[, ...]]) |
Return values and exceptions raised are the same as those of urlopen().
OpenerDirector objects open URLs in three stages:
The order in which these methods are called within each stage is determined by sorting the handler instances.
In fact, the above algorithm is first tried for methods named default_open. If all such methods return None, the algorithm is repeated for methods named like protocol_open(). If all such methods return None, the algorithm is repeated for methods named unknown_open().
Note that the implementation of these methods may involve calls of the parent OpenerDirector instance's .open() and .error() methods.
See About this document... for information on suggesting changes. Document provided by Web Master Resources and hosted at Speedy Domain Registration Company