From a289e7967907f47e8aba2b25e5f397af6ac7dac9 Mon Sep 17 00:00:00 2001 From: nsasaki128 Date: Tue, 25 Jun 2019 15:15:00 +0900 Subject: Fixed #30594 -- Added 'private' Cache-Control directive to never_cache() decorator. --- docs/topics/http/decorators.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs/topics') diff --git a/docs/topics/http/decorators.txt b/docs/topics/http/decorators.txt index b5145919ab..e1ec2c6028 100644 --- a/docs/topics/http/decorators.txt +++ b/docs/topics/http/decorators.txt @@ -119,5 +119,9 @@ client-side caching. .. function:: never_cache(view_func) This decorator adds a ``Cache-Control: max-age=0, no-cache, no-store, - must-revalidate`` header to a response to indicate that a page should never - be cached. + must-revalidate, private`` header to a response to indicate that a page + should never be cached. + + .. versionchanged:: 3.0 + + ``private`` directive was added. -- cgit v1.3