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

Public Member Functions

def cache_control (self)
 
def if_match (self)
 
def if_none_match (self)
 
def if_modified_since (self)
 
def if_unmodified_since (self)
 
def if_range (self)
 
def range (self)
 

Detailed Description

Add entity tag and cache descriptors to a request object or object with
a WSGI environment available as :attr:`~BaseRequest.environ`.  This not
only provides access to etags but also to the cache control header.

Member Function Documentation

◆ cache_control()

def cache_control (   self)
A :class:`~werkzeug.datastructures.RequestCacheControl` object
for the incoming cache control headers.

◆ if_match()

def if_match (   self)
An object containing all the etags in the `If-Match` header.

:rtype: :class:`~werkzeug.datastructures.ETags`

◆ if_modified_since()

def if_modified_since (   self)
The parsed `If-Modified-Since` header as datetime object.

◆ if_none_match()

def if_none_match (   self)
An object containing all the etags in the `If-None-Match` header.

:rtype: :class:`~werkzeug.datastructures.ETags`

◆ if_range()

def if_range (   self)
The parsed `If-Range` header.

.. versionadded:: 0.7

:rtype: :class:`~werkzeug.datastructures.IfRange`

◆ if_unmodified_since()

def if_unmodified_since (   self)
The parsed `If-Unmodified-Since` header as datetime object.

◆ range()

def range (   self)
The parsed `Range` header.

.. versionadded:: 0.7

:rtype: :class:`~werkzeug.datastructures.Range`

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