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 26777] New: - Should use user.mime_type ext. attribute where available
Date Sun, 08 Feb 2004 19:51:23 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26777>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26777

Should use user.mime_type ext. attribute where available

           Summary: Should use user.mime_type ext. attribute where available
           Product: Apache httpd-2.0
           Version: 2.0.48
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: mod_mime
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mjrauhal@cc.helsinki.fi


(I have checked that the current apache 2.0.48 as shipped in Debian GNU/Linux
Sid and run on Linux 2.6.0 with extended file attributes enabled does not seem
to have the functionality described here.)

Apache should retrieve mime types for files from the extended attribute
user.mime_type as defined in the Freedesktop.org shared mime information
specification┬╣. This should, of course, only be done on systems that support
extended attributes (thus I'm reporting this only for "Linux" - I don't know
the full list of systems that would support this). In the case of files
that haven't got the attribute set, it would of course be necessary to fall
back to the usual apache mime type recognition methods.

It might be appropriate to make this optional (perhaps even on a
per-directory-basis) even for systems that support it.

(I suspect some systems, such as Mac OS (X) have similiar but different mime
type storage methods, which should be supported, but I haven't checked if
this is already the case.)

┬╣
<URL:http://freedesktop.org/Standards/shared-mime-info-spec/0.12/ar01s03.html#id2767803>

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message