def deliverBody(self, protocol):
        """
        Make the connection, then remove the transport.
        """
        self.protocol = protocol
        self.protocol.makeConnection(self.transport)
        self.protocol.transport = None

        Make the connection, then remove the transport.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_agent.py