示例#1
0
 def absolute(self):
     """
     Return absolute path, the url string without scheme and netloc parts
     """
     return lib.urlunsplit(('', '', self.path, self.query_string, self.fragment))
示例#2
0
 def url(self):
     return lib.urlunsplit(self.split())
示例#3
0
 def __str__(self):
     return lib.urlunsplit(self.split())