httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <>
Subject Re: Setting the 'Server' header from my module
Date Sun, 11 Jan 2009 20:08:28 GMT
On Sun, Jan 11, 2009 at 2:59 PM, Jason Fister <> wrote:
> Hi,
> I am trying to set the 'Server' http header from within the module. I tried
> the following:

> even that didn't work. Looks like the value of the 'Server' header is
> getting set sometime much later and it overwrites the value that I am
> setting.

This happens in ap_http_header_filter (the output filter that writes
the headers when you first try to write some body).

It looks like trunk will preserve a pre-existing header, but 2.2.x and
earlier do not.

Eric Covener

View raw message