'Returns a :class:`BytesURL` tuple that holds a URI.  This will
encode all the information in the URL properly to ASCII using the
rules a web browser would follow.
It\'s usually more interesting to directly call :meth:`iri_to_uri` which
will return a string.'

def to_uri_tuple(self):

    return url_parse(iri_to_uri(self).encode('ascii'))
