def prepare_header_name(name):
    """Copied from https://github.com/chibisov/drf-extensions/blob/master/rest_framework_extensions/utils.py

         >> prepare_header_name('Accept-Language')
         http_accept_language
     """
    return 'http_{0}'.format(name.strip().replace('-', '_')).upper()
