Are there any web services which will allow me to provide a file extension and it would return a list of possible MIME types?
For example:
http://mimetype.com/getMime/doc
Which could return:
application/msword,application/docappl/text,application/vnd.msword,application/vnd.ms-word,application/winword,application/word,application/x-msw6,application/x-msword
I don't want to use Urlmon.dll and I would prefer not having to keep my own list up-to-date.
Thanks
The only thing that comes to mind is to parse output from http://www.file-extensions.org/
The only thing I could imagine would be parsing the list which comes with the apache server mime.types. The list is maintained by The Apache Software Foundation and depends on www.iana.org