def geturl(self):
        """
        Returns the URL that was the source of this response.
        If the request that generated this response redirected, this method
        will return the final redirect location.
        """
        if self.retries is not None and len(self.retries.history):
            return self.retries.history[-1].redirect_location
        else:
            return self._request_url

        Returns the URL that was the source of this response.
        If the request that generated this response redirected, this method
        will return the final redirect location.
        
product/gradle-plugin/src/main/python/pip/_vendor/urllib3/response.py