set-request-header or remove-request-header support for mod_setenv
I would like to suggest to add a new configuration option(s) to mod_setenv.c:
set-request-header (overwrites or defines a new header)
remove-request-header (removes all request headers of a specific name)
There has been already a proposed patch for set-request-header:
This patch was submitted reversed, I am attaching the standard one.
directives to set value, rather than append values to headers, env
These directives take precedence over the setenv.add-* counterparts
Set a blank value for request or response header to remove the header
(blank value in environment will be set as the value; not removed)
setenv.*-environment is now deferred to handle_request_env hook.
setenv.*-response-header is now processed in handle_response_start hook.
Also available in: Atom