def clean_headers(headers):
    result = {}
    for k, v in dict(headers).items():
        k = k.lower().replace('-', '_')
        result[k] = v
    return result
Convert HTTP response headers into a common format
dataset/ETHPy150Open pudo/archivekit/archivekit/util.py/clean_headers