'L{HTTPClientParser.statusReceived} can parse a status line without a
phrase (though such lines are a violation of RFC 7230, section 3.1.2;
nevertheless some broken servers omit the phrase).'

def test_responseStatusWithoutPhrase(self):

    request = Request('GET', '/', _boringHeaders, None)
    protocol = HTTPClientParser(request, None)
    protocol.makeConnection(StringTransport())
    protocol.dataReceived('HTTP/1.1    200\r\n')
    self.assertEqual(protocol.response.version, ('HTTP', 1, 1))
    self.assertEqual(protocol.response.code, 200)
    self.assertEqual(protocol.response.phrase, '')
