def prepare_header_name(name):
    return 'http_{0}'.format(name.strip().replace('-', '_')).upper()
>> prepare_header_name('Accept-Language')
dataset/ETHPy150Open chibisov/drf-extensions/rest_framework_extensions/utils.py/prepare_header_name