def rejoin_uri(scheme, value): """Construct a full URI joining the scheme and value""" uri = URI() uri.scheme = scheme uri.path = value return str(uri)