'If a partial response was received and the connection is lost, the
resulting error is L{ResponseFailed}, but not
L{ResponseNeverReceived}.'

def test_someResponseButNotAll(self):

    protocol = HTTPClientParser(Request('HEAD', '/', _boringHeaders, None), (lambda ign: None))
    d = protocol._responseDeferred
    protocol.makeConnection(StringTransport())
    protocol.dataReceived('2')
    protocol.connectionLost(ConnectionLost())
    return self.assertFailure(d, ResponseFailed).addCallback(self.assertIsInstance, ResponseFailed)
