Home | Trees | Index | Help |
|
---|
Package pywikipedia :: Module wikipedia :: Class MyURLopener |
|
URLopener
--+ |FancyURLopener
--+ | MyURLopener
Method Summary | |
---|---|
Inherited from FancyURLopener | |
| |
| |
Error 301 -- also relocated (permanently). | |
Error 302 -- relocated (temporarily). | |
Error 303 -- also relocated (essentially identical to 302). | |
Error 307 -- relocated, but turn POST into error. | |
Error 401 -- authentication required. | |
Default error handling -- don't raise an exception. | |
Override this in a GUI environment! | |
| |
| |
| |
Inherited from URLopener | |
| |
Add a header to be used by the HTTP interface only e.g. | |
| |
| |
Handle http errors. | |
Use URLopener().open(file) instead of open(file, 'r'). | |
Use "data" URL. | |
Use local file or FTP depending on form of URL. | |
Use FTP protocol. | |
Use Gopher protocol. | |
Use HTTP protocol. | |
Use HTTPS protocol. | |
Use local file. | |
Overridable interface to open unknown URL type. | |
Overridable interface to open unknown URL type. | |
retrieve(url) returns (filename, headers) for a local object or (tempfilename, headers) for a remote object. |
Class Variable Summary | |
---|---|
str |
version = 'PythonWikipediaBot/1.0'
|
Inherited from URLopener | |
NoneType |
_URLopener__tempfiles = None |
Class Variable Details |
---|
version
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Jul 03 17:07:33 2005 | http://epydoc.sf.net |