httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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

           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

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

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message