httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Poirier <poir...@pobox.com>
Subject Re: doc or fix ForceType for not-default-handler?
Date Sat, 30 Oct 2010 16:48:35 GMT
On Fri. 2010-10-29 at 02:17 PM EDT, Nick Kew <nick@webthing.com> wrote:

> 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.

This is probably not the only directive that's documented as if it's
global but really only changes the behavior of the default handler.

I've added an entry to the docs STATUS file. 

Dan

Mime
View raw message