Ämne:
Re: [dcdev] Searching
Från:
eric
Datum:
2004-01-16 6:54
Till:
Direct Connect developers <[email protected]>, Carl-Adam Brengesjö <[email protected]>


> IMHO, mime types is not the solution. Something like mime-magic is
> probably better but has its limit. How to handle files with unknown
> content but known extension and how to handle new file format or "rare"
> ones (who knows PES format ?).

Magic-mime will give a file with unkown content the type `text/plain'
and so it always have a mime type, though it may not be accurate. But
event the current system isn't accurate with stuff like that.

that's why I said something LIKE mime-magic, not mime-magic itself, it is too limited.

Eric

-- 
DC Developers mailinglist
http://3jane.ashpool.org/cgi-bin/mailman/listinfo/dcdev