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

Class IncompleteRead

Lib/http/client.py:1534–1546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1532 pass
1533
1534class IncompleteRead(HTTPException):
1535 def __init__(self, partial, expected=None):
1536 self.args = partial,
1537 self.partial = partial
1538 self.expected = expected
1539 def __repr__(self):
1540 if self.expected is not None:
1541 e = ', %i more expected' % self.expected
1542 else:
1543 e = ''
1544 return '%s(%i bytes read%s)' % (self.__class__.__name__,
1545 len(self.partial), e)
1546 __str__ = object.__str__
1547
1548class ImproperConnectionState(HTTPException):
1549 pass

Callers 6

_get_chunk_leftMethod · 0.85
_read_chunkedMethod · 0.85
_readinto_chunkedMethod · 0.85
_safe_readMethod · 0.85
_safe_readintoMethod · 0.85
_read1_chunkedMethod · 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…