httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49807] New: hard to force Content-Type header for non static files
Date Mon, 23 Aug 2010 12:37:31 GMT
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


Mime
View raw message