mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-21 19:32:16 +08:00
fix some issues
This commit is contained in:
@@ -31,12 +31,15 @@ class HttpRequest(BinaryIO):
|
||||
def __init__(self) -> None: ...
|
||||
def get_host(self) -> str: ...
|
||||
def get_port(self) -> str: ...
|
||||
def get_full_path(self, force_append_slash: bool = False) -> str: ...
|
||||
def get_signed_cookie(self, key: str, default: str = ..., salt: str = "", max_age: int = None) -> str: ...
|
||||
def get_full_path(self, force_append_slash: bool = ...) -> str: ...
|
||||
def get_full_path_info(self, force_append_slash: bool = ...) -> str: ...
|
||||
def get_signed_cookie(
|
||||
self, key: str, default: Any = ..., salt: str = ..., max_age: Optional[int] = ...
|
||||
) -> Optional[str]: ...
|
||||
def get_raw_uri(self) -> str: ...
|
||||
def build_absolute_uri(self, location: str = None) -> str: ...
|
||||
def build_absolute_uri(self, location: str = ...) -> str: ...
|
||||
@property
|
||||
def scheme(self) -> str: ...
|
||||
def scheme(self) -> Optional[str]: ...
|
||||
def is_secure(self) -> bool: ...
|
||||
def is_ajax(self) -> bool: ...
|
||||
encoding = ... # type: Optional[str]
|
||||
|
||||
Reference in New Issue
Block a user