Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Takes a URI or a URI reference plus a base URI, produces a absolutized URI
if a base URI was given, then attempts to obtain access to an entity
representing the resource identified by the resulting URI,
returning the entity as a stream (a file-like object).

Raises a IriError if the URI scheme is unsupported or if a stream
could not be obtained for any reason.

src/a/m/Amara-2.0.0/test/xslt/__init__.py   Amara(Download)
    def resolve(self, uri, baseuri=None):
        if uri in self._uris:
            return cStringIO.StringIO(self._uris[uri])
        return irihelpers.resolver.resolve(self, uri, baseuri)