httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject doc or fix ForceType for not-default-handler?
Date Fri, 29 Oct 2010 14:14:54 GMT
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.

Should it be documented a bit more directly (a guru can read between
the lines of the doc if you know what you're looking to justify),
moved into calling ap_set_content_type in a filter, or some other
directive be added to do this in a filter?

(IIRC mod_headers can't do this for free since it's before the HTTP
filter turns the r->content_type into a header)

-- 
Eric Covener
covener@gmail.com

Mime
View raw message