mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-16 00:37:11 +08:00
Add HttpResponseBase.__contains__ (#1099)
This commit is contained in:
@@ -46,6 +46,7 @@ class HttpResponseBase:
|
||||
def __delitem__(self, header: str) -> None: ...
|
||||
def __getitem__(self, header: str) -> str: ...
|
||||
def has_header(self, header: str) -> bool: ...
|
||||
def __contains__(self, header: str) -> bool: ...
|
||||
def items(self) -> Iterable[Tuple[str, str]]: ...
|
||||
@overload
|
||||
def get(self, header: str, alternate: str) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user