def METHOD_NAME(uri):
    """
    Split the scheme and the remainder of the URI.
    """
    idx = uri.find(':')
    if idx < 0:
        raise ValueError("Not a URI")
    return uri[:idx], uri[idx+1:]