Package yadis :: Module discover
[hide private]
[frames] | no frames]

Module discover

source code

Classes [hide private]
  DiscoveryFailure
Raised when a YADIS protocol error occurs in the discovery process
  DiscoveryResult
Contains the result of performing Yadis discovery on a URI

Functions [hide private]
  discover(uri)
Discover services for a given URI.

Function Details [hide private]

discover(uri)

source code 

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.