httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sorin Manolache <sor...@gmail.com>
Subject Re: Add a variable on http header
Date Mon, 06 Jun 2011 12:55:43 GMT
On Mon, Jun 6, 2011 at 14:15, Maurizio Totti <maurizio.totti@gmail.com> wrote:
> Hi,
> I would try to set an http header variable "on the fly" but without success :-(
> I write this simple module to test the functionality
>
> http://pastebin.com/b8hcZTtb

When running your code, I see USER_VAR2: mytest in the response.

Be aware that your code adds a _request_ header (r->headers_in) to an
_output_ filter.

S

>
> I don't understand my error, someone can help me?
> Thanks a lot
>
> Regards.
>
> --
> Maurizio Totti
>

Mime
View raw message