(self, line_type)
| 1566 | |
| 1567 | class LineTooLong(HTTPException): |
| 1568 | def __init__(self, line_type): |
| 1569 | HTTPException.__init__(self, "got more than %d bytes when reading %s" |
| 1570 | % (_MAXLINE, line_type)) |
| 1571 | |
| 1572 | class RemoteDisconnected(ConnectionResetError, BadStatusLine): |
| 1573 | def __init__(self, *pos, **kw): |