Home | Trees | Indices | Help |
|
---|
|
urllib.URLopener --+ | urllib.FancyURLopener --+ | InterMineURLOpener
Provides user agent and authentication headers, and handling of errors
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
version =
|
|
ConstructorInterMineURLOpener((username, password)) → InterMineURLOpener Return a new url-opener with the appropriate credentials
|
Use URLopener().open(file) instead of open(file, 'r').
|
Re-implementation of http_error_default, with content now supplied by default
|
Handle 400 HTTP errors, attempting to return informative error messages400 errors indicate that something about our request was incorrect
|
Handle 401 HTTP errors, attempting to return informative error messages401 errors indicate we don't have sufficient permission for the resource we requested - usually a list or a tempate
|
Handle 404 HTTP errors, attempting to return informative error messages404 errors indicate that the requested resource does not exist - usually a template that is not longer available.
|
Handle 500 HTTP errors, attempting to return informative error messages500 errors indicate that the server borked during the request - ie: it wasn't our fault.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jul 28 19:30:51 2011 | http://epydoc.sourceforge.net |