diff --git a/django-stubs/utils/cache.pyi b/django-stubs/utils/cache.pyi index f47d929..4a46b14 100644 --- a/django-stubs/utils/cache.pyi +++ b/django-stubs/utils/cache.pyi @@ -15,7 +15,7 @@ def get_conditional_response( last_modified: Optional[int] = ..., response: 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 patch_vary_headers(response: HttpResponseBase, newheaders: Tuple[str]) -> None: ... def has_vary_header(response: HttpResponse, header_query: str) -> bool: ...