def _generate_cache_header_key(key_prefix, request):
 path = md5_constructor(iri_to_uri(request.path))
 cache_key = ('views.decorators.cache.cache_header.%s.%s' % (key_prefix, path.hexdigest()))
 return _i18n_cache_key_suffix(request, cache_key)

def _generate_cache_header_key ( key_prefix , request ) : path = md5_constructor ( iri_to_uri ( request . path ) ) cache_key = ( 'views.decorators.cache.cache_header.%s.%s' % ( key_prefix , path . hexdigest ( ) ) ) return _i18n_cache_key_suffix ( request , cache_key )
returns a cache key for the header cache .