On Thu, 2013-01-17 at 15:48 +0100, Andy Wingo wrote: > On Thu 17 Jan 2013 11:37, Nala Ginrut <nalagin...@gmail.com> writes: > > > PS: Do you think it's proper to use the same implementation in my server > > project? I'm not sure whether this mime thing would exist in any GNU > > system for a server purpose rather than a desktop one. > > Why would it not exist on a server? My server has a full > /usr/share/mime directory, and I know I haven't installed anything > desktop-related. >
/usr/share/mime is contained in 'shared-mime-info' package, at least for openSUSE. The suggestion you gave means Guile will depend on this package. Personally, I don't think that's what you want. ;-P > In any case you could fall back on /etc/mime.types, I guess. > > Andy