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

Static Public Attributes

 max_stale
 
 min_fresh
 
 only_if_cached
 
- 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 ImmutableDictMixin
def fromkeys (cls, keys, value=None)
 
def __reduce_ex__ (self, protocol)
 
def __hash__ (self)
 
def setdefault (self, key, default=None)
 
def update (self, *args, **kwargs)
 
def pop (self, key, default=None)
 
def popitem (self)
 
def __setitem__ (self, key, value)
 
def __delitem__ (self, key)
 
def clear (self)
 
- 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 requests.  This is immutable and gives access
to all the request-relevant cache control headers.

To get a header of the :class:`RequestCacheControl` 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

◆ max_stale

max_stale
static

◆ min_fresh

min_fresh
static

◆ only_if_cached

only_if_cached
static

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