|
|
|
|
|
|
|
|
|
|
|
|
|
http_error_default(self,
url,
fp,
errcode,
errmsg,
headers)
Default error handler: close the connection and raise IOError. |
source code
|
|
|
open(self,
fullurl,
data=None)
Use URLopener().open(file) instead of open(file, 'r'). |
source code
|
|
|
open_data(self,
url,
data=None)
Use "data" URL. |
source code
|
|
|
open_file(self,
url)
Use local file or FTP depending on form of URL. |
source code
|
|
|
|
|
open_gopher(self,
url)
Use Gopher protocol. |
source code
|
|
|
open_http(self,
url,
data=None)
Use HTTP protocol. |
source code
|
|
|
open_https(self,
url,
data=None)
Use HTTPS protocol. |
source code
|
|
|
|
|
open_unknown(self,
fullurl,
data=None)
Overridable interface to open unknown URL type. |
source code
|
|
|
open_unknown_proxy(self,
proxy,
fullurl,
data=None)
Overridable interface to open unknown URL type. |
source code
|
|
|
retrieve(self,
url,
filename=None,
reporthook=None,
data=None)
retrieve(url) returns (filename, headers) for a local object or
(tempfilename, headers) for a remote object. |
source code
|
|