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: [email protected]
        ReportedBy: [email protected]


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to