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


(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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to