| 1524 | pass |
| 1525 | |
| 1526 | class 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 | |
| 1540 | class ImproperConnectionState(HTTPException): |
| 1541 | pass |
no outgoing calls
no test coverage detected