locked
Get mime type of all files not using registry RRS feed

  • Question

  • I need to know how to get all the mime types available to any browser for a downloader for my webbrowser, so far it get's the mime type on navigate and returns it in the event handler but, in the registry any of the 2 ways that there are don't include every one, like I can't seem to find application/x-rar-compresses only zip and what not, I need EVERY single one that I can get, are there any online repositories that contain them all?
    My Site - http://easyfilehosting.dyndns.org/ Image Hosting File Hosting 1GB Limit per file Unlimited Files Delete Files File Passwords(Optional)
    Wednesday, July 13, 2011 3:47 AM

All replies

  • Hi,

    On your own PC, you'll find mimetypes registered by installed applications. Try perhaps http://www.iana.org/assignments/media-types/index.html but I'm not sure why you would need them all (you'll see you have hundreds if not thousands of them)...

     

    As always, knowing the big picture could help (that is here what will you do with this mime type information especially as this is the web server that should tell what is the mime type for the file you are getting ?)

     


    Please always mark whatever response solved your issue so that the thread is properly marked as "Answered".
    Friday, July 15, 2011 8:50 PM