Add missing attributes to IncompleteRead (#5933)

This commit is contained in:
Nathan Naze
2021-08-17 21:27:09 -07:00
committed by GitHub
parent 837b57fdd1
commit 34b3f0bf7c

View File

@@ -205,6 +205,8 @@ class UnimplementedFileMode(HTTPException): ...
class IncompleteRead(HTTPException):
def __init__(self, partial: bytes, expected: int | None = ...) -> None: ...
partial: bytes
expected: int | None
class ImproperConnectionState(HTTPException): ...
class CannotSendRequest(ImproperConnectionState): ...