httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: doc or fix ForceType for not-default-handler?
Date Fri, 29 Oct 2010 18:17:13 GMT

On 29 Oct 2010, at 17:00, Roy T. Fielding wrote:

> On Oct 29, 2010, at 7:14 AM, Eric Covener wrote:
> 
>> Currently ForceType is only really effective for static files, since
>> it works in a fixup hook and most other generators/handler will
>> clobber the value in the actual handler by calling ap_set_content_type
>> themselves.
> 
> Yikes, that's a bug.  Can we fix it easily?

I don't think it's a bug, rather it's a documentation issue: handlers
that set content type override configuration directives.  It would
IMHO be wrong to override a script or proxied backend.
The logic of ForceType is simply Not Applicable.

-- 
Nick Kew

Mime
View raw message