Article from http://www.blogjava.net/sxyx2008/
{". 3GP", "Video/3GPP "},
{". APK", "application/vnd. Android. Package-Archive "},
{". ASF", "Video/X-MS-ASF "},
{". Avi", "Video/X-msvideo "},
{". Bin", "application/octet-stream "},
{". BMP", "image/BMP "},
{". C", "text/plain "},
{". Class", "application/octet-stream "},
{". Conf", "text/plain "},
{". Cpp", "text/plain "},
{". Doc", "application/MSWord "},
{". EXE", "application/octet-stream "},
{". GIF", "image/GIF "},
{". Gtar", "application/X-gtar "},
{". GZ", "application/X-gzip "},
{". H", "text/plain "},
{". Htm", "text/html "},
{". Html", "text/html "},
{". Jar", "application/Java-Archive "},
{". Java", "text/plain "},
{". Jpeg", "image/JPEG "},
{". Jpg", "image/JPEG "},
{". Js", "application/X-JavaScript "},
{". Log", "text/plain "},
{". M3u", "audio/X-mpegurl "},
{". M4a", "audio/mp4a-latm "},
{". M4b", "audio/mp4a-latm "},
{". M4p", "audio/mp4a-latm "},
{". M4u", "Video/vnd. mpegurl "},
{". M4v", "Video/x-m4v "},
{". Mov", "Video/QuickTime "},
{". MP2", "audio/X-mPEG "},
{". MP3", "audio/X-mPEG "},
{". MP4", "Video/MP4 "},
{". MPC", "application/vnd. mpohun. Certificate "},
{". MPE", "Video/MPEG "},
{". MpEG", "Video/MPEG "},
{". Mpg", "Video/MPEG "},
{". Mpg4", "Video/MP4 "},
{". Mpga", "audio/MPEG "},
{". MSG", "application/vnd. MS-outlook "},
{". Ogg", "audio/Ogg "},
{". Pdf", "application/pdf "},
{". PNG", "image/PNG "},
{". PPS", "application/vnd. MS-PowerPoint "},
{". Ppt", "application/vnd. MS-PowerPoint "},
{". Prop", "text/plain "},
{". Rar", "application/X-Rar-compressed "},
{". RC", "text/plain "},
{". Rmvb", "audio/X-PN-RealAudio "},
{". Rtf", "application/rtf "},
{". Sh", "text/plain "},
{". Tar", "application/X-tar "},
{". Tgz", "application/X-compressed "},
{". Txt", "text/plain "},
{". Wav", "audio/X-WAV "},
{". Wma", "audio/X-MS-WMA "},
{". Wmv", "audio/X-MS-WMV "},
{". Wps", "application/vnd. MS-works "},
{". Xml", "text/XML "},
{". Xml", "text/plain "},
{". Z", "application/X-compress "},
{". Zip", "application/zip "},
{"","*/*"}