views:

91

answers:

4

So far I have:

doc, dox  -> application/ms-word
xls, xlsx  -> application/ms-excel
pdf        -> application/pdf 

And so on.

Is there a place where I can get a comprehensive list?

+1  A: 

www.google.com and search for 'common file extensions mime types'

fuzzy lollipop
1+ Thank you, that helped
OscarRyz
Not much, but helped :)
OscarRyz
+4  A: 

summary:
http://www.w3schools.com/media/media_mimeref.asp

detail:
http://www.iana.org/assignments/media-types/

jms
In a deeper review, I notice that didn't contain common extensions like : `docx, pptx, xlsx` and ohters :(
OscarRyz
I guess I could just add those :)
OscarRyz
+2  A: 

FileInfo is pretty handy

Ray
Yeap, but I can't find a listing where the extension and the content type are listed. It only says: `.doc Microsoft Word Document` Browsers don't understand "Microsoft Word document" as content type ... : -/
OscarRyz
You can also use Reflector to look in System.Web.MimeMapping - the static constructor has a pretty long list of these things.
Ray
+4  A: 

Common ones: http://www.fileinfo.com/common.php

DWong
And here's a big list: http://filext.com/alphalist.php?extstart=%5Ea
DWong
Well yeah , I don't want to know what are those, but actually ( as stated in my original question, what's the content type )
OscarRyz