'Returns a URL string or bytes depending on the type of the
information stored.  This is just a convenience function
for calling :meth:`url_unparse` for this URL.'

def to_url(self):

    return url_unparse(self)
