class ResponseCacheControl(_CacheControl):
A cache control for responses. Unlike RequestCacheControl
this is mutable and gives access to response-relevant cache control
headers.
To get a header of the ResponseCacheControl
object again you can
convert the object into a string or call the to_header
method. If
you plan to subclass it and add your own items have a look at the sourcecode
for that class.
CacheControl
class existed that was used
both for request and response.Class Variable | immutable |
Undocumented |
Class Variable | must_revalidate |
Undocumented |
Class Variable | private |
Undocumented |
Class Variable | proxy_revalidate |
Undocumented |
Class Variable | public |
Undocumented |
Class Variable | s_maxage |
Undocumented |
Inherited from _CacheControl
:
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | to_header |
Convert the stored values into a cache control header. |
Class Variable | cache_property |
Undocumented |
Class Variable | max_age |
Undocumented |
Class Variable | no_cache |
Undocumented |
Class Variable | no_store |
Undocumented |
Class Variable | no_transform |
Undocumented |
Instance Variable | on_update |
Undocumented |
Instance Variable | provided |
Undocumented |
Method | _del_cache_value |
Used internally by the accessor properties. |
Method | _get_cache_value |
Used internally by the accessor properties. |
Method | _set_cache_value |
Used internally by the accessor properties. |
Inherited from UpdateDictMixin
(via _CacheControl
):
Method | pop |
Undocumented |
Method | setdefault |
Undocumented |
Class Variable | __delitem__ |
Undocumented |
Class Variable | __setitem__ |
Undocumented |
Class Variable | clear |
Undocumented |
Class Variable | popitem |
Undocumented |
Class Variable | update |
Undocumented |