On Tue, 12 Nov 2002, André Malo wrote:
> AddOutputFilterByType filter inserting is triggered by every
> ap_set_content_type call. That's perhaps not the best way (esp. if the
> content type changes during the request processing), but currently I see no
> alternative.
>
> PHP doesn't use that api call, thus by-type-filters are not inserted. I've
> just searched the code and tried to find one place, where it could be used,
> but I found at least two places, where the content type will be set (1st:
> default at the filter init, second later, if someone uses the php header()
> function to change the type); I hope I've figured out that correctly - I
> find the PHP sources too complex for my brain :).
> However, I guess, it's probably easy to fix.

OK.  I guess, in that case, it is a PHP bug and not an httpd problem.
Would be nice to see it fixed, of course, but I don't feel like digging
into that code.

Joshua.

Reply via email to