def remove_entity_headers(headers, allowed=('expires', 'content-location')):
    allowed = set(x.lower() for x in allowed)
    headers[:] = [(key, value) for key, value in headers if
                  not is_entity_header(key) or key.lower() in allowed]
Format a cacti metric name into a Datadog-friendly name
dataset/ETHPy150Open Eforcers/gae-flask-todo/lib/werkzeug/http.py/remove_entity_headers--crossover with--dataset/ETHPy150Open serverdensity/sd-agent/checks.d/cacti.py/Cacti._format_metric_name