MCPcopy Index your code
hub / github.com/python/cpython / LineTooLong

Class LineTooLong

Lib/http/client.py:1567–1570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1565 self.line = line
1566
1567class 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
1572class RemoteDisconnected(ConnectionResetError, BadStatusLine):
1573 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…