| 1532 | pass |
| 1533 | |
| 1534 | class 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 | |
| 1548 | class ImproperConnectionState(HTTPException): |
| 1549 | pass |
no outgoing calls
no test coverage detected
searching dependent graphs…