httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55431] New: mod_negotation does not force the mime type listed in type-map
Date Fri, 16 Aug 2013 13:23:37 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55431

            Bug ID: 55431
           Summary: mod_negotation does not force the mime type listed in
                    type-map
           Product: Apache httpd-2
           Version: 2.2.22
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_negotiation
          Assignee: bugs@httpd.apache.org
          Reporter: wgordonw1@gmail.com

I am observing that mod_mime sets the mimetype based on the results that
mod_negotation returns from a type-map.  I would expect that mod_negotation
would force the headers set by the type-map (especially so for mime-type).

Specific case is for gzipped content.  I.e. my type map "foo.var" lists two
variants: "bar.css" and "bar.css.gz"

I observed that "bar.css.gz" is being served with a mime-type based on the .gz
extension instead of the "text/css" explicitly listed in the "foo.var" type
map.  I would expect that mod_negotation force the "text/css" mimetype.

Is this intentional?

-- 
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