MCPcopy Index your code
hub / github.com/RustPython/RustPython / LineTooLong

Class LineTooLong

Lib/http/client.py:1559–1562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1557 self.line = line
1558
1559class LineTooLong(HTTPException):
1560 def __init__(self, line_type):
1561 HTTPException.__init__(self, "got more than %d bytes when reading %s"
1562 % (_MAXLINE, line_type))
1563
1564class RemoteDisconnected(ConnectionResetError, BadStatusLine):
1565 def __init__(self, *pos, **kw):

Callers 4

_read_headersFunction · 0.85
_read_statusMethod · 0.85
_read_next_chunk_sizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected