Home | Trees | Index | Help |
|
---|
Package openid :: Module fetchers |
|
Classes | |
---|---|
HTTPFetcher |
This class is the interface for openid HTTP fetchers. |
HTTPResponse |
XXX document attributes |
Exceptions | |
---|---|
HTTPError |
This exception is raised by the
when it encounters an
exceptional situation fetching a URL. |
HTTPFetchingError |
Exception that is wrapped around all exceptions that are raised by the underlying fetcher when using the ExceptionWrappingFetcher |
Function Summary | |
---|---|
Create a default HTTP fetcher instance | |
Invoke the fetch method on the default fetcher. | |
HTTPFetcher |
Return the default fetcher instance if no fetcher has been set, it will create a default fetcher. |
Set the default fetcher |
Function Details |
---|
createHTTPFetcher()Create a default HTTP fetcher instance prefers Curl to urllib2. |
fetch(url, body=None, headers=None)Invoke the fetch method on the default fetcher. Most users should need only this method.
|
getDefaultFetcher()Return the default fetcher instance if no fetcher has been set, it will create a default fetcher.
|
setDefaultFetcher(fetcher, wrap_exceptions=True)Set the default fetcher
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 6 15:54:34 2008 | http://epydoc.sf.net |