#NEWLINE# def _generate_cache_header_key( key_prefix , request ) : #NEWLINE# #INDENT# 'Returns a cache key for the header cache.' #NEWLINE# url = hashlib . md5 ( force_bytes ( iri_to_uri ( request . build_absolute_uri ( ) ) ) ) #NEWLINE# cache_key = ( 'views.decorators.cache.cache_header.%s.%s' % ( key_prefix , url . hexdigest ( ) ) ) #NEWLINE# return _i18n_cache_key_suffix ( request , cache_key )