Ämne:Re: [dcdev] Searching
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.