class documentation

class RFC2616Policy:

View In Hierarchy

Undocumented

Constant MAXAGE Undocumented
Method __init__ Undocumented
Method ​_compute​_current​_age Undocumented
Method ​_compute​_freshness​_lifetime Undocumented
Method ​_get​_max​_age Undocumented
Method ​_parse​_cachecontrol Undocumented
Method ​_set​_conditional​_validators Undocumented
Method is​_cached​_response​_fresh Undocumented
Method is​_cached​_response​_valid Undocumented
Method should​_cache​_request Undocumented
Method should​_cache​_response Undocumented
Instance Variable ​_cc​_parsed Undocumented
Instance Variable always​_store Undocumented
Instance Variable ignore​_response​_cache​_controls Undocumented
Instance Variable ignore​_schemes Undocumented
MAXAGE =

Undocumented

Value
(3600*24)*365
def __init__(self, settings):

Undocumented

def _compute_current_age(self, response, request, now):

Undocumented

def _compute_freshness_lifetime(self, response, request, now):

Undocumented

def _get_max_age(self, cc):

Undocumented

def _parse_cachecontrol(self, r):

Undocumented

def _set_conditional_validators(self, request, cachedresponse):

Undocumented

def is_cached_response_fresh(self, cachedresponse, request):

Undocumented

def is_cached_response_valid(self, cachedresponse, response, request):

Undocumented

def should_cache_request(self, request):

Undocumented

def should_cache_response(self, response, request):

Undocumented

_cc_parsed =

Undocumented

always_store =

Undocumented

ignore_response_cache_controls =

Undocumented

ignore_schemes =

Undocumented