|
| 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) |
| |
| def | __init__ (self, values=(), on_update=None) |
| |
| def | to_header (self) |
| |
| def | __str__ (self) |
| |
| def | __repr__ (self) |
| |
| def | calls_update (name) |
| |
| def | setdefault (self, key, default=None) |
| |
| def | pop (self, key, default=_missing) |
| |
| | on_update |
| |
| | provided |
| |
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.