def _noBodyTest(self, request, response):
        header = {}
        finished = []
        protocol = HTTPClientParser(request, finished.append)
        protocol.headerReceived = header.__setitem__
        body = []
        protocol._bodyDataReceived = body.append
        transport = StringTransport()
        protocol.makeConnection(transport)
        protocol.dataReceived(response)
        self.assertEqual(transport.producerState, 'producing')
        self.assertEqual(protocol.state, DONE)
        self.assertEqual(body, [])
        self.assertEqual(finished, [''])
        self.assertEqual(protocol.response.length, 0)
        return header
Assert that L{HTTPClientParser} parses the given C{response} to
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_newclient.py/HTTPClientParserTests._noBodyTest