You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Luigi Bai <lp...@focalpoint.com> on 2004/02/04 17:30:16 UTC

mime-types enhancement

I'd like to propose an extension to the heuristics SVN uses to determine
the mime-type of a new file. In particular, I'd like to propose a
.subversion/mime-mappings file with the following format:

     <mime-mapping>
         <extension>abs</extension>
         <mime-type>audio/x-mpeg</mime-type>
     </mime-mapping>
     <mime-mapping>
         <extension>ai</extension>
         <mime-type>application/postscript</mime-type>
     </mime-mapping>
     <mime-mapping>
         <extension>aif</extension>
         <mime-type>audio/x-aiff</mime-type>
     </mime-mapping>
     <mime-mapping>
         <extension>aifc</extension>
         <mime-type>audio/x-aiff</mime-type>
     </mime-mapping>

Extensions are compared without case sensitivity.

Thanks;
Luigi

-- 
<A HREF="http://www.focalpoint.com/">Home Page</A>
education is what's left after what is learned is forgotten.
                                -- b f skinner
Luigi P. Bai                   Focal Point Software, Inc.
lpb@focalpoint.com             3701 Kirby Drive, Suite 512
turning data into information  Houston, TX   77098
                                (713) 215-1600 x 33#






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org