class werkzeug.ETagRequestMixin[source]

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


cache_control A RequestCacheControl object for the incoming cache control headers.
if_match An object containing all the etags in the If-Match header.
if_modified_since The parsed If-Modified-Since header as datetime object.
if_none_match An object containing all the etags in the If-None-Match header.
if_range The parsed If-Range header.
if_unmodified_since The parsed If-Unmodified-Since header as datetime object.
range The parsed Range header.