Package openid :: Package yadis :: Module discover
[frames | no frames]

Module openid.yadis.discover

Classes
DiscoveryResult Contains the result of performing Yadis discovery on a URI

Exceptions
DiscoveryFailure Raised when a YADIS protocol error occurs in the discovery process

Function Summary
  discover(uri)
Discover services for a given URI.

Function Details

discover(uri)

Discover services for a given URI.
Parameters:
uri - The identity URI as a well-formed http or https URI. The well-formedness and the protocol are not checked, but the results of this function are undefined if those properties do not hold.
Returns:
DiscoveryResult object
Raises:
Exception - Any exception that can be raised by fetching a URL with the given fetcher.
DiscoveryFailure - When the HTTP response does not have a 200 code.

Generated by Epydoc 2.1 on Wed Apr 22 16:14:21 2009 http://epydoc.sf.net