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

Class IncompleteRead

Lib/http/client.py:1526–1538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1524 pass
1525
1526class IncompleteRead(HTTPException):
1527 def __init__(self, partial, expected=None):
1528 self.args = partial,
1529 self.partial = partial
1530 self.expected = expected
1531 def __repr__(self):
1532 if self.expected is not None:
1533 e = ', %i more expected' % self.expected
1534 else:
1535 e = ''
1536 return '%s(%i bytes read%s)' % (self.__class__.__name__,
1537 len(self.partial), e)
1538 __str__ = object.__str__
1539
1540class ImproperConnectionState(HTTPException):
1541 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