Searched refs:BadStatusLine (Results 1 – 5 of 5) sorted by relevance
300 raise BadStatusLine(line)306 raise BadStatusLine(line)308 raise BadStatusLine(line)1507 class BadStatusLine(HTTPException): class1519 class RemoteDisconnected(ConnectionResetError, BadStatusLine):1521 BadStatusLine.__init__(self, "")
208 .. exception:: BadStatusLine222 A subclass of :exc:`ConnectionResetError` and :exc:`BadStatusLine`. Raised228 Previously, :exc:`BadStatusLine`\ ``('')`` was raised.
546 self.assertRaises(client.BadStatusLine, resp.begin)549 exc = client.BadStatusLine('')1028 self.assertRaises((client.LineTooLong, client.BadStatusLine), resp.begin)1088 self.assertRaises(client.BadStatusLine, conn.getresponse)
1736 with self.assertRaises(http.client.BadStatusLine):
1950 except http.client.BadStatusLine: