mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-20 02:41:16 +08:00
some stubs
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user