def request_uri(self):
        """Absolute path including the query string."""
        uri = self.path or "/"

        if self.query is not None:
            uri += "?" + self.query

        return uri
Absolute path including the query string.
product/gradle-plugin/src/main/python/pip/_vendor/urllib3/util/url.py