'If a response includes multiple I{Content-Length} headers,
L{HTTPClientParser.dataReceived} raises L{ValueError} to indicate that
the response is invalid and the transport is now unusable.'

def test_multipleContentLengthHeaders(self):

    protocol = HTTPClientParser(Request('GET', '/', _boringHeaders, None), None)
    protocol.makeConnection(StringTransport())
    self.assertRaises(ValueError, protocol.dataReceived, 'HTTP/1.1    200    OK\r\nContent-Length:    1\r\nContent-Length:    2\r\n\r\n')
