#NEWLINE# def test_multipleContentLengthHeaders( self ) : #NEWLINE# #INDENT# '\n        If a response includes multiple I{Content-Length} headers,\n        L{HTTPClientParser.dataReceived} raises L{ValueError} to indicate that\n        the response is invalid and the transport is now unusable.\n        ' #NEWLINE# protocol = HTTPClientParser ( Request ( b'GET' , b'/' , _boringHeaders , None ) , None ) #NEWLINE# protocol . makeConnection ( StringTransport ( ) ) #NEWLINE# self . assertRaises ( ValueError , self . dataReceived , b'HTTP/1.1 200 OK\r\nContent-Length: 1\r\nContent-Length: 2\r\n\r\n' )