def absolute(self): """ Return absolute path, the url string without scheme and netloc parts """ return lib.urlunsplit(('', '', self.path, self.query_string, self.fragment))
def url(self): return lib.urlunsplit(self.split())
def __str__(self): return lib.urlunsplit(self.split())