You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/08/23 14:37:31 UTC
DO NOT REPLY [Bug 49807] New: hard to force Content-Type header for
non static files
https://issues.apache.org/bugzilla/show_bug.cgi?id=49807
Summary: hard to force Content-Type header for non static files
Product: Apache httpd-2
Version: 2.2.16
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: covener@gmail.com
Generally, directives that manipulate types run early in request procesing and
have their work undone by generators that call ap_set_content_type().
Meanwhile, mod_headers even as a filter runs before the HTTP header output
filter pulls r->content_type and adds it as a header.
It would be nice if e.g. ForceType could be consulted somewhere prior to the
header going from the internal representation into the Content-Type header.
(reported on IRC as ForceType, RewriteRule .. [T=] and mod_headers can't change
Content-Type of a proxied response. Really applies to almost any non-core
handler)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org