mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-08-12 19:06:58 +08:00
This commit is contained in:
@@ -15,7 +15,7 @@ def get_conditional_response(
|
|||||||
last_modified: Optional[int] = ...,
|
last_modified: Optional[int] = ...,
|
||||||
response: Optional[HttpResponse] = ...,
|
response: Optional[HttpResponse] = ...,
|
||||||
) -> Optional[HttpResponse]: ...
|
) -> Optional[HttpResponse]: ...
|
||||||
def patch_response_headers(response: HttpResponseBase, cache_timeout: float = ...) -> None: ...
|
def patch_response_headers(response: HttpResponseBase, cache_timeout: Optional[int] = ...) -> None: ...
|
||||||
def add_never_cache_headers(response: HttpResponseBase) -> None: ...
|
def add_never_cache_headers(response: HttpResponseBase) -> None: ...
|
||||||
def patch_vary_headers(response: HttpResponseBase, newheaders: Tuple[str]) -> None: ...
|
def patch_vary_headers(response: HttpResponseBase, newheaders: Tuple[str]) -> None: ...
|
||||||
def has_vary_header(response: HttpResponse, header_query: str) -> bool: ...
|
def has_vary_header(response: HttpResponse, header_query: str) -> bool: ...
|
||||||
|
|||||||
Reference in New Issue
Block a user