I have a proxy that is injecting some headers but I want to modify it so it only sets the headers if they are not already present:
<Location /api>
RequestHeader set MY_HEADER "value"
ProxyPass http://127.0.0.1:8000/api
ProxypassReverse http://127.0.0.1:8000/api
</Location>
Is this possible?