perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Foertsch <torsten.foert...@gmx.net>
Subject Re: HTTP Response Headers fixup
Date Thu, 01 Jan 2009 13:32:48 GMT
On Thu 01 Jan 2009, André Warnier wrote:
> Unfortunately the Content-Type header is a different beast. Inside
> Apache it is not only a response header, but a more complex data
> type. You can set a different Content-Type header with mod_headers,
> but since the internal structure remains unchanged it will be
> overwritten again by Apache.
>
> As a result I see no way to change an existing character set in a
> Content-Type header.

Try to create a request output filter that sets $r->content_type, 
removes itself and returns DECLINED.

Torsten

-- 
Need professional mod_perl support?
Just hire me: torsten.foertsch@gmx.net

Mime
View raw message