From: "Sam Tregar" <[EMAIL PROTECTED]>

> > sub cgiapp_postrun {
> > my $self = shift;
> > $self->header_props(-charset => 'ISO-8859-2');
> > }
>
> Try using header_add() instead of header_props().  From the docs:
>
>    Unlike calling header_props(), header_add() will preserve any
>    existing headers.
>


It was the first thing I have tried, but with no good results.
At first sight, it seems that the module does an external redirect when
redirecting from a runmode to another, and it sets some HTTP headers for
this, so it is too late for changing headers... or something like that.

I have found the only solution is to use header_props() in each runmode, but
not in cgiapp_postrun.
It is not very nice, but I couldn't do it in other way.


Thank you.

Teddy




---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to