some stubs

This commit is contained in:
Maxim Kurnikov
2018-12-06 19:04:06 +03:00
parent 447651c770
commit 25a71a7ef5
22 changed files with 888 additions and 59 deletions

View File

@@ -15,7 +15,9 @@ class HttpResponseBase(six.Iterator):
closed = ... # type: bool
reason_phrase = ... # type: str
charset = ... # type: str
def __init__(self, content_type: str = None, status: int = None, reason: str = None, charset: str = None) -> None: ...
def __init__(
self, content_type: str = None, status: int = None, reason: str = None, charset: str = None
) -> None: ...
def serialize_headers(self) -> bytes: ...
def __bytes__(self) -> bytes: ...
def __setitem__(self, header: str, value: Union[str, bytes]) -> None: ...