| 1562 | % (_MAXLINE, line_type)) |
| 1563 | |
| 1564 | class RemoteDisconnected(ConnectionResetError, BadStatusLine): |
| 1565 | def __init__(self, *pos, **kw): |
| 1566 | BadStatusLine.__init__(self, "") |
| 1567 | ConnectionResetError.__init__(self, *pos, **kw) |
| 1568 | |
| 1569 | # for backwards compatibility |
| 1570 | error = HTTPException |