André Warnier wrote:
One of my questions is thus : assuming I keep adding this custom
header "Test-Header" via mod_headers, will it be visible by the
HTTPHeadersFixup subclass I create and configure ?
Its an output connection filter, so I can't imagine it wouldn't work as
you expect.
if yes, I could make a simple test in my subclass to detect if this
request is indeed one that needs to be modified.
If the filter configuration in the <location> is insufficient you mean?
You certainly can inspect and react.
Or is there another/better/simpler way to resolve my problem ?
http://perl.apache.org/docs/2.0/user/handlers/filters.html#C_PerlOutputFilterHandler_
You can also use output filter handler stage... just look for the header
in the brigade and insert your own header instead.
Though that sounds more complicated than the ready-made header fixup
handler. :)
David