change function combination_HTTP_headers to be dynamic