def _generate_cache_header_key(key_prefix, request):
    url = hashlib.md5(force_bytes(iri_to_uri(request.build_absolute_uri())))
    cache_key = 'views.decorators.cache.cache_header.%s.%s' % (
        key_prefix, url.hexdigest())
    return _i18n_cache_key_suffix(request, cache_key)
Logs any exceptions that happen in slurp and adds them to the exception_map
dataset/ETHPy150Open django/django/django/utils/cache.py/_generate_cache_header_key--crossover with--dataset/ETHPy150Open Netflix/security_monkey/security_monkey/watcher.py/Watcher.slurp_exception