OpenQuizz
Une application de gestion des contenus pédagogiques
ResponseCacheControl Class Reference
Inheritance diagram for ResponseCacheControl:
Collaboration diagram for ResponseCacheControl:

Static Public Attributes

 public
 
 private
 
 must_revalidate
 
 proxy_revalidate
 
 s_maxage
 
 immutable
 
 cache_property
 
- Static Public Attributes inherited from _CacheControl
 no_cache
 
 no_store
 
 max_age
 
 no_transform
 
- Static Public Attributes inherited from UpdateDictMixin
 on_update
 
 clear
 
 popitem
 
 update
 

Additional Inherited Members

- Public Member Functions inherited from _CacheControl
def __init__ (self, values=(), on_update=None)
 
def to_header (self)
 
def __str__ (self)
 
def __repr__ (self)
 
- Public Member Functions inherited from UpdateDictMixin
def calls_update (name)
 
def setdefault (self, key, default=None)
 
def pop (self, key, default=_missing)
 
- Data Fields inherited from _CacheControl
 on_update
 
 provided
 

Detailed Description

A cache control for responses.  Unlike :class:`RequestCacheControl`
this is mutable and gives access to response-relevant cache control
headers.

To get a header of the :class:`ResponseCacheControl` object again you can
convert the object into a string or call the :meth:`to_header` method.  If
you plan to subclass it and add your own items have a look at the sourcecode
for that class.

.. versionadded:: 0.5
   In previous versions a `CacheControl` class existed that was used
   both for request and response.

Field Documentation

◆ cache_property

cache_property
static

◆ immutable

immutable
static

◆ must_revalidate

must_revalidate
static

◆ private

private
static

◆ proxy_revalidate

proxy_revalidate
static

◆ public

public
static

◆ s_maxage

s_maxage
static

The documentation for this class was generated from the following file: