code: def url(self) -> str:
          
          url_str = self.parse_url.path or ""
          if self.parse_url.querystring is not None:
              url_str += "?" + self.parse_url.querystring
          return url_str
docs: path + query 的url