def request(self, method, uri, headers=None, bodyProducer=None):
        """
        Send a client request following HTTP redirects.

        @see: L{Agent.request}.
        """
        deferred = self._agent.request(method, uri, headers, bodyProducer)
        return deferred.addCallback(
            self._handleResponse, method, uri, headers, 0)

        Send a client request following HTTP redirects.

        @see: L{Agent.request}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/client.py