There is no official list of file extensions for mime type mappings. Each web server seems to keep its own list. For example, Apache Tomcat has all the mappings defined in xml in the file $CATALINA_HOME/conf/web.xml. You could borrow data from this list that is reliable enough and create Mapfor use in your own code.
source
share