MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / IncompleteRead

Class IncompleteRead

tools/python-3.11.9-amd64/Lib/http/client.py:1502–1514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1500 pass
1501
1502class IncompleteRead(HTTPException):
1503 def __init__(self, partial, expected=None):
1504 self.args = partial,
1505 self.partial = partial
1506 self.expected = expected
1507 def __repr__(self):
1508 if self.expected is not None:
1509 e = ', %i more expected' % self.expected
1510 else:
1511 e = ''
1512 return '%s(%i bytes read%s)' % (self.__class__.__name__,
1513 len(self.partial), e)
1514 __str__ = object.__str__
1515
1516class ImproperConnectionState(HTTPException):
1517 pass

Callers 6

_get_chunk_leftMethod · 0.70
_read_chunkedMethod · 0.70
_readinto_chunkedMethod · 0.70
_safe_readMethod · 0.70
_safe_readintoMethod · 0.70
_read1_chunkedMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected