Your own content-type is supposed to be overwritten only in case of the use
of

PerlSetVar UseCGIHeadersFromScript Off

in your configuration file. You might wish to comment this line in your
configuration file when your script generates correct header line in
accordance with CGI/1.0 and/or CGI/1.1.

Thanks,
Slava

----- Original Message ----- 
From: "John Siracusa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Slava Bizyayev" <[EMAIL PROTECTED]>
Sent: Sunday, July 20, 2003 10:05 PM
Subject: Re: ANNOUNCE: Apache::Dynagzip 0.10


> Why does Apache/Dynagzip.pm call $r->content_type('text/html') in
> several places?  My apache module earlier in the Apache::Filter chain
> sets $r->content_type to something else, but it then gets overridden by
> Dynagzip.pm.  If I comment out all the calls to
> $r->content_type('text/html') in Dynagzip.pm. I get the correct content
> type.  I'd like it if I could get this behavior without modifying
> Dynagzip.pm...
>
> -John
>
>

Reply via email to