(value)
return 'HTTP_' + value.upper().replace('-', '_')
Convert header name to a key to be used with `request.META`
Convert header name to a key to be used with `request.META`
Convert header name to a key to be used with request . META
def to_django_header(value):
    """Convert header name to a key to be used with `request.META`"""
    return 'HTTP_' + value.upper().replace('-', '_')
def to_django_header ( value ) : return 'HTTP_' + value . upper ( ) . replace ( '-' , '_' )