~hrbrmstr/wand

b5722828d2dc103db4e414bd8811f75fb3e05e27 — hrbrmstr 1 year, 9 months ago 73c949a
new built-in MIME types and improvements enabling alternate db
M .Rbuildignore => .Rbuildignore +2 -0
@@ 11,3 11,5 @@
^builder$
^\.vscode$
^CRAN-RELEASE$
^appveyor\.yml$
^tools$
\ No newline at end of file

M DESCRIPTION => DESCRIPTION +5 -6
@@ 1,19 1,18 @@
Package: wand
Type: Package
Title: Retrieve 'Magic' Attributes from Files and
Title: Retrieve Magic Attributes from Files and
      Directories
Version: 0.5.0
Date: 2019-07-06
Version: 0.6.0
Date: 2019-07-27
Authors@R: c( person("Bob", "Rudis", email =
      "bob@rud.is", role = c("aut", "cre"), comment =
      c(ORCID = "0000-0001-5670-2640")) )
Maintainer: Bob Rudis <bob@rud.is>
Description: 'MIME' types are shorthand descriptors for
Description: MIME types are shorthand descriptors for
      file contents and can be determined from "magic"
      bytes in file headers, file contents or intuited
      from file extensions. Tools are provided to
      perform curated "magic" tests as well as mapping
      'MIME' types from a database of over 1,500
      MIME types from a database of over 1,800
      extension mappings.
URL: http://gitlab.com/hrbrmstr/wand
BugReports: https://gitlab.com/hrbrmstr/wand/issues

M NAMESPACE => NAMESPACE +0 -1
@@ 2,5 2,4 @@

export(get_content_type)
export(guess_content_type)
export(simplemagic_mime_db)
importFrom(tools,file_ext)

M R/aaa.r => R/aaa.r +11 -819
@@ 1,820 1,12 @@
#' File extension-to-MIME mapping data frame
#'
#' @name simplemagic_mime_db
#' @title File extension-to-MIME mapping data frame
#' @description built from the files found in the References
#' @docType data
#' @export
structure(list(extension = c("pyc", "dwg", "ez", "aw", "arj",
"atom", "xml", "atomcat", "atomsvc", "mm", "mme", "hqx", "hqx",
"boo", "book", "ccxml", "cdf", "cdmia", "cdmic", "cdmid", "cdmio",
"cdmiq", "ccad", "dp", "cu", "csm", "davmount", "dbk", "drw",
"tsp", "dssc", "xdssc", "dxf", "es", "ecma", "js", "emma", "evy",
"epub", "xl", "xla", "xlb", "xlc", "xld", "xlk", "xll", "xlm",
"xls", "xlt", "xlv", "xlw", "exi", "pfr", "woff", "fif", "frl",
"spl", "gml", "tgz", "gpx", "vew", "gxf", "hlp", "hta", "stk",
"unv", "iges", "igs", "inf", "ink", "inkml", "acx", "ipfix",
"class", "jar", "class", "ser", "class", "js", "json", "jsonml",
"lha", "lostxml", "lzx", "bin", "hqx", "hqx", "cpt", "bin", "mads",
"mrc", "mrcx", "ma", "nb", "mb", "mathml", "mbd", "mbox", "mcd",
"mscml", "metalink", "meta4", "mets", "aps", "mods", "m21", "mp21",
"mp4", "m4p", "mp4s", "mdb", "one", "onetoc2", "onetmp", "onepkg",
"pot", "pps", "ppt", "ppz", "doc", "dot", "w6w", "wiz", "word",
"wri", "mxf", "mcp", "bin", "dms", "lrf", "mar", "so", "dist",
"distz", "pkg", "bpk", "dump", "elc", "a", "arc", "arj", "com",
"exe", "lha", "lhx", "lzh", "lzx", "o", "psd", "saveme", "uu",
"zoo", "class", "buffer", "deploy", "hqx", "obj", "lib", "zip",
"gz", "dmg", "iso", "oda", "opf", "ogx", "ogg", "axs", "omdoc",
"onetoc", "onetoc2", "onetmp", "onepkg", "oxps", "xer", "pdf",
"pgp", "key", "asc", "pgp", "sig", "prf", "p12", "crl", "p10",
"p7m", "p7c", "p7s", "p8", "ac", "cer", "crt", "crl", "pkipath",
"pki", "text", "pls", "ai", "eps", "ps", "ppt", "part", "prt",
"cww", "pskcxml", "rar", "rdf", "rif", "rnc", "rl", "rld", "rng",
"rs", "gbr", "mft", "roa", "rsd", "rss", "xml", "rtf", "rtx",
"sbml", "scq", "scs", "spq", "spp", "sdp", "sea", "set", "setpay",
"setreg", "shf", "stl", "smi", "smil", "smi", "smil", "sol",
"sdr", "rq", "srx", "gram", "grxml", "sru", "ssdl", "ssml", "step",
"stp", "ssm", "tei", "teicorpus", "tfi", "tsd", "tbk", "vda",
"plb", "psb", "pvb", "tcap", "pwn", "aso", "imp", "acu", "atc",
"acutc", "air", "fcdt", "fxp", "fxpl", "xdp", "xfdf", "ahead",
"azf", "azs", "azw", "acc", "ami", "apk", "cii", "fti", "atx",
"mpkg", "m3u8", "swi", "swi", "iota", "aep", "mpm", "bmi", "rep",
"cdxml", "mmd", "cdy", "cla", "rp9", "c4g", "c4d", "c4f", "c4p",
"c4u", "c11amc", "c11amz", "csp", "cdbcmsg", "cmc", "clkx", "clkk",
"clkp", "clkt", "clkw", "wbs", "pml", "ppd", "car", "pcurl",
"dart", "rdz", "uvf", "uvvf", "uvd", "uvvd", "uvt", "uvvt", "uvx",
"uvvx", "uvz", "uvvz", "fe_launch", "dna", "mlp", "dpg", "dfac",
"kpxx", "ait", "svc", "geo", "mag", "nml", "esf", "msf", "qam",
"slt", "ssf", "es3", "et3", "ez2", "ez3", "fdf", "mseed", "seed",
"dataless", "gph", "ftc", "fm", "frame", "maker", "book", "fnc",
"ltf", "fsc", "oas", "oa2", "oa3", "fg5", "bh2", "ddd", "xdw",
"xbd", "fzs", "txd", "ggb", "ggt", "gex", "gre", "gxt", "g2w",
"g3w", "gmx", "kml", "kmz", "gqf", "gqs", "gac", "ghf", "gim",
"grv", "gtm", "tpl", "vcg", "hal", "zmm", "hbci", "les", "hgl",
"hpg", "hpgl", "hpid", "hps", "jlt", "pcl", "pclxl", "sfd-hdstx",
"x3d", "mpy", "afp", "listafp", "list3820", "irm", "sc", "icc",
"icm", "igl", "ivp", "ivu", "igm", "xpw", "xpx", "i2g", "qbo",
"qfx", "rcprofile", "irp", "xpr", "fcs", "jam", "rms", "jisp",
"joda", "ktz", "ktr", "karbon", "chrt", "kfo", "flw", "kon",
"kpr", "kpt", "ksp", "kwd", "kwt", "htke", "kia", "kne", "knp",
"skp", "skd", "skt", "skm", "sse", "lasxml", "lbd", "lbe", "123",
"apr", "pre", "nsf", "org", "scm", "lwp", "portpkg", "mcd", "mc1",
"cdkey", "mwf", "mfm", "flo", "igx", "mif", "daf", "dis", "mbk",
"mqy", "msl", "plc", "txf", "mpn", "mpc", "xul", "cil", "cab",
"xls", "xlm", "xla", "xlc", "xlt", "xlb", "xll", "xlw", "xlam",
"xlam", "xlsb", "xlsb", "xlsm", "xlsm", "xltm", "xltm", "eot",
"chm", "ims", "lrm", "thmx", "msg", "sst", "pko", "cat", "stl",
"sst", "cat", "stl", "ppt", "pps", "pot", "ppa", "pwz", "ppam",
"ppam", "pptm", "potm", "pptm", "potm", "sldm", "sldm", "ppsm",
"ppsm", "potm", "potm", "mpp", "mpt", "docm", "docm", "dotm",
"dotm", "wps", "wks", "wcm", "wdb", "wpl", "xps", "mseq", "mus",
"msty", "taglet", "nlu", "ntf", "nitf", "nnd", "nns", "nnw",
"ncm", "ngdat", "n-gage", "rpst", "rpss", "rng", "edm", "edx",
"ext", "edm", "edx", "ext", "odc", "otc", "odb", "odf", "odft",
"odg", "otg", "odi", "oti", "odp", "otp", "ods", "ots", "odt",
"odm", "otm", "ott", "oth", "xo", "dd2", "oxt", "pptx", "sldx",
"ppsx", "potx", "xlsx", "xltx", "docx", "dotx", "mgp", "dp",
"esa", "pdb", "pqa", "oprc", "paw", "str", "ei6", "efif", "wg",
"plf", "pbd", "box", "mgz", "qps", "ptid", "qxd", "qxt", "qwd",
"qwt", "qxl", "qxb", "bed", "mxl", "musicxml", "cryptonote",
"cod", "rm", "rmvb", "rnx", "link66", "st", "see", "sema", "semd",
"semf", "ifm", "itp", "iif", "ipk", "twd", "twds", "mmf", "teacher",
"sdkm", "sdkd", "dxp", "sfs", "sdc", "sda", "sdd", "sdp", "smf",
"sdw", "vor", "sgl", "smzip", "sm", "sxc", "stc", "sxd", "std",
"sxi", "sti", "sxm", "sxw", "sxg", "stw", "sus", "susp", "svd",
"sis", "sisx", "xsm", "bdm", "xdm", "tao", "pcap", "cap", "dmp",
"tmo", "tpt", "mxs", "tra", "ufd", "ufdl", "utz", "umj", "unityweb",
"uoml", "vcx", "vsd", "vst", "vss", "vsw", "vis", "vsf", "sic",
"slc", "wbxml", "wmlc", "wmlsc", "wtb", "nbp", "wpd", "wqd",
"stf", "xar", "web", "xfdl", "hvd", "hvs", "hvp", "osf", "osfpvg",
"saf", "spf", "cmp", "zir", "zirz", "zaz", "vmd", "vmf", "vxml",
"wgt", "hlp", "wp", "wp5", "wp6", "wpd", "wp5", "w60", "wp5",
"w61", "wsdl", "wspolicy", "wk1", "wk", "7z", "abw", "ace", "aim",
"dmg", "aab", "x32", "u32", "vox", "aam", "aas", "bcpio", "bin",
"hqx", "torrent", "blb", "blorb", "bsh", "sh", "shar", "elc",
"elc", "bz", "bz2", "boz", "cbr", "cba", "cbt", "cbz", "cb7",
"cdf", "vcd", "cfs", "chat", "cha", "pgn", "chm", "crx", "ras",
"cco", "cpt", "z", "gz", "tgz", "z", "zip", "nsc", "cpio", "cpt",
"csh", "deb", "udeb", "deepv", "dgc", "dir", "dcr", "dxr", "cst",
"cct", "cxt", "w3d", "fgd", "swa", "dms", "wad", "ncx", "dtb",
"res", "dvi", "elc", "env", "evy", "es", "eva", "xla", "xlb",
"xlc", "xld", "xlk", "xll", "xlm", "xls", "xlt", "xlv", "xlw",
"flac", "pfa", "pfb", "gsf", "pcf", "pcf.Z", "bdf", "gsf", "psf",
"otf", "pcf", "snf", "ttf", "ttc", "pfa", "pfb", "pfm", "afm",
"woff", "mif", "arc", "pre", "spl", "gca", "ulx", "gnumeric",
"sgf", "gramps", "gcf", "gsp", "gss", "gtar", "tgz", "taz", "gz",
"gzip", "tgz", "hdf", "help", "hlp", "imap", "phtml", "pht",
"php", "phps", "php3", "php3p", "php4", "ica", "ima", "install",
"ins", "isp", "ins", "iv", "ip", "iii", "iso", "jar", "class",
"jcm", "jnlp", "ser", "class", "js", "chrt", "kil", "skd", "skm",
"skp", "skt", "kpr", "kpt", "ksh", "ksp", "kwd", "kwt", "latex",
"ltx", "lha", "lsp", "ivy", "wq1", "scm", "luac", "lzh", "lzh",
"lha", "lzx", "hqx", "bin", "mc$", "frm", "maker", "frame", "fm",
"fb", "book", "fbdoc", "mcd", "mm", "mid", "midi", "mie", "mif",
"nix", "prc", "mobi", "m3u8", "asx", "application", "lnk", "wmd",
"wmz", "xbap", "mdb", "obd", "crd", "clp", "com", "exe", "bat",
"dll", "exe", "dll", "com", "bat", "msi", "xla", "xls", "xlw",
"msi", "mvb", "m13", "m14", "wmf", "wmz", "emf", "emz", "mny",
"ppt", "pub", "scd", "trm", "wri", "ani", "nvd", "map", "stl",
"nc", "cdf", "pkg", "aos", "pac", "nwc", "nzb", "o", "omc", "omcd",
"omcr", "oza", "pm4", "pm5", "pcl", "pma", "pmc", "pml", "pmr",
"pmw", "plx", "p10", "p12", "pfx", "p7b", "spc", "p7r", "crl",
"p7c", "p7m", "p7a", "p7s", "css", "pnm", "mpc", "mpt", "mpv",
"mpx", "pyc", "pyo", "wb1", "qtl", "rar", "rpm", "ris", "rpm",
"rtf", "sdp", "sea", "sl", "sh", "shar", "sh", "swf", "swfl",
"xap", "sit", "spr", "sprite", "sql", "sit", "sitx", "srt", "sv4cpio",
"sv4crc", "t3", "gam", "tar", "sbk", "tbk", "tcl", "tex", "gf",
"pk", "tfm", "texinfo", "texi", "obj", "~", "%", "bak", "old",
"sik", "roff", "t", "tr", "man", "me", "ms", "avi", "ustar",
"vsd", "vst", "vsw", "mzz", "xpix", "vrml", "src", "wsrc", "webapp",
"wz", "hlp", "wtk", "svr", "wrl", "wpd", "wri", "der", "cer",
"crt", "crt", "xcf", "fig", "xlf", "xpi", "xz", "zip", "z1",
"z2", "z3", "z4", "z5", "z6", "z7", "z8", "xaml", "xdf", "xenc",
"xhtml", "xht", "xml", "xsl", "xpdl", "dtd", "xop", "xpl", "xslt",
"xspf", "mxml", "xhvml", "xvml", "xvm", "yang", "yin", "pko",
"zip", "adp", "aif", "aifc", "aiff", "au", "snd", "flac", "it",
"funk", "my", "pfunk", "pfunk", "rmi", "mid", "mid", "midi",
"kar", "rmi", "mod", "mp4a", "m4a", "mpga", "mp2", "mp2a", "mp3",
"m2a", "mpa", "mpg", "m3a", "mpega", "m4a", "mp3", "m3u", "la",
"lma", "oga", "ogg", "spx", "sid", "s3m", "sil", "tsi", "tsp",
"uva", "uvva", "eol", "dra", "dts", "dtshd", "lvp", "pya", "ecelp4800",
"ecelp7470", "ecelp9600", "qcp", "rip", "voc", "vox", "wav",
"weba", "aac", "snd", "aif", "aiff", "aifc", "au", "caf", "flac",
"gsd", "gsm", "jam", "lam", "mka", "mid", "midi", "mid", "midi",
"mod", "mp2", "mp3", "m3u", "m3u", "wax", "wma", "la", "lma",
"ram", "ra", "rm", "rmm", "rmp", "rmp", "ra", "rpm", "sid", "ra",
"pls", "sd2", "vqf", "vqe", "vql", "mjf", "voc", "wav", "xm",
"cdx", "cif", "cmdf", "cml", "csml", "pdb", "xyz", "xyz", "dwf",
"dwf", "otf", "ivr", "bmp", "bm", "cgm", "cod", "ras", "rast",
"fif", "flo", "turbot", "g3", "gif", "ief", "iefs", "jpeg", "jpg",
"jfif", "jfif-tbnl", "jpe", "jut", "ktx", "nap", "naplps", "pcx",
"pic", "pict", "jfif", "jfif", "jpe", "jpeg", "jpg", "png", "x-png",
"btif", "sgi", "svg", "svgz", "tiff", "tif", "mcf", "psd", "uvi",
"uvvi", "uvg", "uvvg", "djvu", "djv", "sub", "dwg", "dxf", "svf",
"dxf", "fbs", "fpx", "fpix", "fst", "mmr", "rlc", "mdi", "wdp",
"npx", "fpx", "rf", "rp", "wbmp", "xif", "webp", "3ds", "ras",
"ras", "cmx", "cdr", "pat", "cdt", "cpt", "dwg", "dxf", "svf",
"fh", "fhc", "fh4", "fh5", "fh7", "ico", "art", "jng", "jps",
"sid", "bmp", "nif", "niff", "pcx", "psd", "pic", "pct", "pnm",
"pbm", "pgm", "pgm", "ppm", "qif", "qti", "qtif", "rgb", "tga",
"tif", "tiff", "bmp", "xbm", "xpm", "xbm", "xpm", "pm", "xwd",
"xwd", "xbm", "xpm", "eml", "mht", "mhtml", "mime", "nws", "igs",
"iges", "msh", "mesh", "silo", "dae", "dwf", "gdl", "gtw", "mts",
"vtu", "wrl", "vrml", "wrz", "pov", "x3db", "x3dbz", "x3dv",
"x3dvz", "x3d", "x3dz", "gzip", "ustar", "zip", "mid", "midi",
"kar", "pvu", "asp", "appcache", "manifest", "ics", "ifb", "icz",
"csv", "css", "csv", "js", "event-stream", "323", "html", "acgi",
"htm", "htmls", "htx", "shtml", "stm", "uls", "js", "mml", "mcf",
"n3", "pas", "txt", "text", "conf", "def", "list", "log", "c",
"c++", "cc", "com", "cxx", "f", "f90", "for", "g", "h", "hh",
"idc", "jav", "java", "lst", "m", "mar", "pl", "sdml", "bas",
"in", "asc", "diff", "pot", "el", "ksh", "par", "dsc", "rtx",
"rt", "rtf", "rtf", "wsc", "sct", "wsc", "sgml", "sgm", "tsv",
"tm", "ts", "t", "tr", "roff", "man", "me", "ms", "ttl", "uri",
"uris", "uni", "unis", "urls", "vcard", "abc", "curl", "dcurl",
"mcurl", "scurl", "sub", "fly", "flx", "gv", "3dml", "spot",
"rt", "jad", "si", "sl", "wml", "wmls", "vtt", "htt", "s", "asm",
"aip", "c", "cc", "cxx", "cpp", "h", "hh", "dic", "h++", "hpp",
"hxx", "hh", "c++", "cpp", "cxx", "cc", "h", "htc", "csh", "c",
"f", "for", "f77", "f90", "h", "hh", "java", "java", "jav", "lsx",
"lua", "m", "markdown", "md", "mkd", "moc", "nfo", "opml", "p",
"pas", "gcd", "pl", "pm", "py", "hlb", "csh", "el", "scm", "ksh",
"lsp", "pl", "pm", "py", "rexx", "scm", "sh", "tcl", "tcsh",
"zsh", "shtml", "ssi", "etx", "sfv", "sgm", "sgml", "sh", "spc",
"talk", "tcl", "tk", "tex", "ltx", "sty", "cls", "uil", "uu",
"uue", "vcs", "vcf", "xml", "3gp", "3g2", "ts", "afl", "avi",
"avs", "dl", "flc", "fli", "flc", "fli", "gl", "h261", "h263",
"h264", "jpgv", "jpm", "jpgm", "mj2", "mjp2", "mp4", "mp4v",
"mpg4", "mpeg", "mpg", "mpe", "m1v", "m2v", "mp2", "mp3", "mpa",
"mpv2", "avi", "ogv", "qt", "moov", "mov", "vdo", "viv", "vivo",
"uvh", "uvvh", "uvm", "uvvm", "uvp", "uvvp", "uvs", "uvvs", "uvv",
"uvvv", "dvb", "fvt", "mxu", "m4u", "pyv", "rv", "uvu", "uvvu",
"viv", "vivo", "vos", "webm", "xdr", "xsr", "fmf", "dl", "dif",
"dv", "f4v", "fli", "flv", "gl", "isu", "lsf", "lsx", "m4v",
"mkv", "mk3d", "mks", "mng", "mjpg", "mp2", "mp3", "mp2", "asf",
"asx", "asr", "asx", "vob", "wm", "wmv", "wmx", "wvx", "avi",
"qtc", "scm", "movie", "mv", "smv", "wmf", "mime", "ice", "mid",
"midi", "3dm", "3dmf", "qd3", "qd3d", "svr", "vrml", "wrl", "wrz",
"flr", "xaf", "xof", "vrm", "vrt", "xgz", "xmz", "ma nb mb",
"doc dot", "bin dms lha lrf lzh so iso dmg dist distz pkg bpk dump elc deploy",
"onetoc onetoc2 onetmp onepkg", "asc sig", "p7m p7c", "ai eps ps",
"smi smil", "atc acutc", "c4g c4d c4f c4p c4u", "es3 et3", "seed dataless",
"fm frame maker book", "gex gre", "gqf gqs", "afp listafp list3820",
"icc icm", "xpw xpx", "ktz ktr", "kpr kpt", "kwd kwt", "kne knp",
"skp skd skt skm", "xls xlm xla xlc xlt xlw", "ppt pps pot",
"mpp mpt", "wps wks wcm wdb", "pdb pqa oprc", "qxd qxt qwd qwt qxl qxb",
"twd twds", "sdkm sdkd", "sus susp", "sis sisx", "ufd ufdl",
"vsd vst vss vsw", "zir zirz", "aab x32 u32 vox", "bz2 boz",
"deb udeb", "dir dcr dxr cst cct cxt w3d fgd swa", "ttf ttc",
"pfa pfb pfm afm", "prc mobi", "exe dll com bat msi", "mvb m13 m14",
"nc cdf", "p12 pfx", "p7b spc", "texinfo texi", "der crt", "xhtml xht",
"xml xsl", "mxml xhvml xvml xvm", "au snd", "mid midi kar rmi",
"mpga mp2 mp2a mp3 m2a m3a", "oga ogg spx", "aif aiff aifc",
"ram ra", "jpeg jpg jpe", "svg svgz", "tiff tif", "djvu djv",
"fh fhc fh4 fh5 fh7", "pic pct", "eml mime", "igs iges", "msh mesh silo",
"wrl vrml", "ics ifb", "html htm", "txt text conf def list log in",
"sgml sgm", "t tr roff man me ms", "uri uris urls", "s asm",
"c cc cxx cpp h hh dic", "f for f77 f90", "p pas", "jpm jpgm",
"mj2 mjp2", "mp4 mp4v mpg4", "mpeg mpg mpe m1v m2v", "qt mov",
"mxu m4u", "asf asx"), mime_type = c("application/x-bytecode.python",
"application/acad", "application/andrew-inset", "application/applixware",
"application/arj", "application/atom+xml", "application/atom+xml",
"application/atomcat+xml", "application/atomsvc+xml", "application/base64",
"application/base64", "application/binhex", "application/binhex4",
"application/book", "application/book", "application/ccxml+xml",
"application/cdf", "application/cdmi-capability", "application/cdmi-container",
"application/cdmi-domain", "application/cdmi-object", "application/cdmi-queue",
"application/clariscad", "application/commonground", "application/cu-seeme",
"application/cu-seeme", "application/davmount+xml", "application/docbook+xml",
"application/drafting", "application/dsptype", "application/dssc+der",
"application/dssc+xml", "application/dxf", "application/ecmascript",
"application/ecmascript", "application/ecmascript", "application/emma+xml",
"application/envoy", "application/epub+zip", "application/excel",
"application/excel", "application/excel", "application/excel",
"application/excel", "application/excel", "application/excel",
"application/excel", "application/excel", "application/excel",
"application/excel", "application/excel", "application/exi",
"application/font-tdpfr", "application/font-woff", "application/fractals",
"application/freeloader", "application/futuresplash", "application/gml+xml",
"application/gnutar", "application/gpx+xml", "application/groupwise",
"application/gxf", "application/hlp", "application/hta", "application/hyperstudio",
"application/i-deas", "application/iges", "application/iges",
"application/inf", "application/inkml+xml", "application/inkml+xml",
"application/internet-property-stream", "application/ipfix",
"application/java", "application/java-archive", "application/java-byte-code",
"application/java-serialized-object", "application/java-vm",
"application/javascript", "application/json", "application/jsonml+json",
"application/lha", "application/lost+xml", "application/lzx",
"application/mac-binary", "application/mac-binhex", "application/mac-binhex40",
"application/mac-compactpro", "application/macbinary", "application/mads+xml",
"application/marc", "application/marcxml+xml", "application/mathematica",
"application/mathematica", "application/mathematica", "application/mathml+xml",
"application/mbedlet", "application/mbox", "application/mcad",
"application/mediaservercontrol+xml", "application/metalink+xml",
"application/metalink4+xml", "application/mets+xml", "application/mime",
"application/mods+xml", "application/mp21", "application/mp21",
"application/mp4", "application/mp4", "application/mp4", "application/msaccess",
"application/msonenote", "application/msonenote", "application/msonenote",
"application/msonenote", "application/mspowerpoint", "application/mspowerpoint",
"application/mspowerpoint", "application/mspowerpoint", "application/msword",
"application/msword", "application/msword", "application/msword",
"application/msword", "application/mswrite", "application/mxf",
"application/netmc", "application/octet-stream", "application/octet-stream",
"application/octet-stream", "application/octet-stream", "application/octet-stream",
"application/octet-stream", "application/octet-stream", "application/octet-stream",
"application/octet-stream", "application/octet-stream", "application/octet-stream",
"application/octet-stream", "application/octet-stream", "application/octet-stream",
"application/octet-stream", "application/octet-stream", "application/octet-stream",
"application/octet-stream", "application/octet-stream", "application/octet-stream",
"application/octet-stream", "application/octet-stream", "application/octet-stream",
"application/octet-stream", "application/octet-stream", "application/octet-stream",
"application/octet-stream", "application/octet-stream", "application/octet-stream",
"application/octet-stream", "application/octet-stream", "application/octet-stream",
"application/octet-stream", "application/octet-stream", "application/octet-stream",
"application/oda", "application/oebps-package+xml", "application/ogg",
"application/ogg", "application/olescript", "application/omdoc+xml",
"application/onenote", "application/onenote", "application/onenote",
"application/onenote", "application/oxps", "application/patch-ops-error+xml",
"application/pdf", "application/pgp-encrypted", "application/pgp-keys",
"application/pgp-signature", "application/pgp-signature", "application/pgp-signature",
"application/pics-rules", "application/pkcs-12", "application/pkcs-crl",
"application/pkcs10", "application/pkcs7-mime", "application/pkcs7-mime",
"application/pkcs7-signature", "application/pkcs8", "application/pkix-attr-cert",
"application/pkix-cert", "application/pkix-cert", "application/pkix-crl",
"application/pkix-pkipath", "application/pkixcmp", "application/plain",
"application/pls+xml", "application/postscript", "application/postscript",
"application/postscript", "application/powerpoint", "application/pro_eng",
"application/pro_eng", "application/prs.cww", "application/pskc+xml",
"application/rar", "application/rdf+xml", "application/reginfo+xml",
"application/relax-ng-compact-syntax", "application/resource-lists+xml",
"application/resource-lists-diff+xml", "application/ringing-tones",
"application/rls-services+xml", "application/rpki-ghostbusters",
"application/rpki-manifest", "application/rpki-roa", "application/rsd+xml",
"application/rss+xml", "application/rss+xml", "application/rtf",
"application/rtf", "application/sbml+xml", "application/scvp-cv-request",
"application/scvp-cv-response", "application/scvp-vp-request",
"application/scvp-vp-response", "application/sdp", "application/sea",
"application/set", "application/set-payment-initiation", "application/set-registration-initiation",
"application/shf+xml", "application/sla", "application/smil",
"application/smil", "application/smil+xml", "application/smil+xml",
"application/solids", "application/sounder", "application/sparql-query",
"application/sparql-results+xml", "application/srgs", "application/srgs+xml",
"application/sru+xml", "application/ssdl+xml", "application/ssml+xml",
"application/step", "application/step", "application/streamingmedia",
"application/tei+xml", "application/tei+xml", "application/thraud+xml",
"application/timestamped-data", "application/toolbook", "application/vda",
"application/vnd.3gpp.pic-bw-large", "application/vnd.3gpp.pic-bw-small",
"application/vnd.3gpp.pic-bw-var", "application/vnd.3gpp2.tcap",
"application/vnd.3m.post-it-notes", "application/vnd.accpac.simply.aso",
"application/vnd.accpac.simply.imp", "application/vnd.acucobol",
"application/vnd.acucorp", "application/vnd.acucorp", "application/vnd.adobe.air-application-installer-package+zip",
"application/vnd.adobe.formscentral.fcdt", "application/vnd.adobe.fxp",
"application/vnd.adobe.fxp", "application/vnd.adobe.xdp+xml",
"application/vnd.adobe.xfdf", "application/vnd.ahead.space",
"application/vnd.airzip.filesecure.azf", "application/vnd.airzip.filesecure.azs",
"application/vnd.amazon.ebook", "application/vnd.americandynamics.acc",
"application/vnd.amiga.ami", "application/vnd.android.package-archive",
"application/vnd.anser-web-certificate-issue-initiation", "application/vnd.anser-web-funds-transfer-initiation",
"application/vnd.antix.game-component", "application/vnd.apple.installer+xml",
"application/vnd.apple.mpegurl", "application/vnd.arastra.swi",
"application/vnd.aristanetworks.swi", "application/vnd.astraea-software.iota",
"application/vnd.audiograph", "application/vnd.blueice.multipass",
"application/vnd.bmi", "application/vnd.businessobjects", "application/vnd.chemdraw+xml",
"application/vnd.chipnuts.karaoke-mmd", "application/vnd.cinderella",
"application/vnd.claymore", "application/vnd.cloanto.rp9", "application/vnd.clonk.c4group",
"application/vnd.clonk.c4group", "application/vnd.clonk.c4group",
"application/vnd.clonk.c4group", "application/vnd.clonk.c4group",
"application/vnd.cluetrust.cartomobile-config", "application/vnd.cluetrust.cartomobile-config-pkg",
"application/vnd.commonspace", "application/vnd.contact.cmsg",
"application/vnd.cosmocaller", "application/vnd.crick.clicker",
"application/vnd.crick.clicker.keyboard", "application/vnd.crick.clicker.palette",
"application/vnd.crick.clicker.template", "application/vnd.crick.clicker.wordbank",
"application/vnd.criticaltools.wbs+xml", "application/vnd.ctc-posml",
"application/vnd.cups-ppd", "application/vnd.curl.car", "application/vnd.curl.pcurl",
"application/vnd.dart", "application/vnd.data-vision.rdz", "application/vnd.dece.data",
"application/vnd.dece.data", "application/vnd.dece.data", "application/vnd.dece.data",
"application/vnd.dece.ttml+xml", "application/vnd.dece.ttml+xml",
"application/vnd.dece.unspecified", "application/vnd.dece.unspecified",
"application/vnd.dece.zip", "application/vnd.dece.zip", "application/vnd.denovo.fcselayout-link",
"application/vnd.dna", "application/vnd.dolby.mlp", "application/vnd.dpgraph",
"application/vnd.dreamfactory", "application/vnd.ds-keypoint",
"application/vnd.dvb.ait", "application/vnd.dvb.service", "application/vnd.dynageo",
"application/vnd.ecowin.chart", "application/vnd.enliven", "application/vnd.epson.esf",
"application/vnd.epson.msf", "application/vnd.epson.quickanime",
"application/vnd.epson.salt", "application/vnd.epson.ssf", "application/vnd.eszigno3+xml",
"application/vnd.eszigno3+xml", "application/vnd.ezpix-album",
"application/vnd.ezpix-package", "application/vnd.fdf", "application/vnd.fdsn.mseed",
"application/vnd.fdsn.seed", "application/vnd.fdsn.seed", "application/vnd.flographit",
"application/vnd.fluxtime.clip", "application/vnd.framemaker",
"application/vnd.framemaker", "application/vnd.framemaker", "application/vnd.framemaker",
"application/vnd.frogans.fnc", "application/vnd.frogans.ltf",
"application/vnd.fsc.weblaunch", "application/vnd.fujitsu.oasys",
"application/vnd.fujitsu.oasys2", "application/vnd.fujitsu.oasys3",
"application/vnd.fujitsu.oasysgp", "application/vnd.fujitsu.oasysprs",
"application/vnd.fujixerox.ddd", "application/vnd.fujixerox.docuworks",
"application/vnd.fujixerox.docuworks.binder", "application/vnd.fuzzysheet",
"application/vnd.genomatix.tuxedo", "application/vnd.geogebra.file",
"application/vnd.geogebra.tool", "application/vnd.geometry-explorer",
"application/vnd.geometry-explorer", "application/vnd.geonext",
"application/vnd.geoplan", "application/vnd.geospace", "application/vnd.gmx",
"application/vnd.google-earth.kml+xml", "application/vnd.google-earth.kmz",
"application/vnd.grafeq", "application/vnd.grafeq", "application/vnd.groove-account",
"application/vnd.groove-help", "application/vnd.groove-identity-message",
"application/vnd.groove-injector", "application/vnd.groove-tool-message",
"application/vnd.groove-tool-template", "application/vnd.groove-vcard",
"application/vnd.hal+xml", "application/vnd.handheld-entertainment+xml",
"application/vnd.hbci", "application/vnd.hhe.lesson-player",
"application/vnd.hp-hpgl", "application/vnd.hp-hpgl", "application/vnd.hp-hpgl",
"application/vnd.hp-hpid", "application/vnd.hp-hps", "application/vnd.hp-jlyt",
"application/vnd.hp-pcl", "application/vnd.hp-pclxl", "application/vnd.hydrostatix.sof-data",
"application/vnd.hzn-3d-crossword", "application/vnd.ibm.minipay",
"application/vnd.ibm.modcap", "application/vnd.ibm.modcap", "application/vnd.ibm.modcap",
"application/vnd.ibm.rights-management", "application/vnd.ibm.secure-container",
"application/vnd.iccprofile", "application/vnd.iccprofile", "application/vnd.igloader",
"application/vnd.immervision-ivp", "application/vnd.immervision-ivu",
"application/vnd.insors.igm", "application/vnd.intercon.formnet",
"application/vnd.intercon.formnet", "application/vnd.intergeo",
"application/vnd.intu.qbo", "application/vnd.intu.qfx", "application/vnd.ipunplugged.rcprofile",
"application/vnd.irepository.package+xml", "application/vnd.is-xpr",
"application/vnd.isac.fcs", "application/vnd.jam", "application/vnd.jcp.javame.midlet-rms",
"application/vnd.jisp", "application/vnd.joost.joda-archive",
"application/vnd.kahootz", "application/vnd.kahootz", "application/vnd.kde.karbon",
"application/vnd.kde.kchart", "application/vnd.kde.kformula",
"application/vnd.kde.kivio", "application/vnd.kde.kontour", "application/vnd.kde.kpresenter",
"application/vnd.kde.kpresenter", "application/vnd.kde.kspread",
"application/vnd.kde.kword", "application/vnd.kde.kword", "application/vnd.kenameaapp",
"application/vnd.kidspiration", "application/vnd.kinar", "application/vnd.kinar",
"application/vnd.koan", "application/vnd.koan", "application/vnd.koan",
"application/vnd.koan", "application/vnd.kodak-descriptor", "application/vnd.las.las+xml",
"application/vnd.llamagraphics.life-balance.desktop", "application/vnd.llamagraphics.life-balance.exchange+xml",
"application/vnd.lotus-1-2-3", "application/vnd.lotus-approach",
"application/vnd.lotus-freelance", "application/vnd.lotus-notes",
"application/vnd.lotus-organizer", "application/vnd.lotus-screencam",
"application/vnd.lotus-wordpro", "application/vnd.macports.portpkg",
"application/vnd.mcd", "application/vnd.medcalcdata", "application/vnd.mediastation.cdkey",
"application/vnd.mfer", "application/vnd.mfmp", "application/vnd.micrografx.flo",
"application/vnd.micrografx.igx", "application/vnd.mif", "application/vnd.mobius.daf",
"application/vnd.mobius.dis", "application/vnd.mobius.mbk", "application/vnd.mobius.mqy",
"application/vnd.mobius.msl", "application/vnd.mobius.plc", "application/vnd.mobius.txf",
"application/vnd.mophun.application", "application/vnd.mophun.certificate",
"application/vnd.mozilla.xul+xml", "application/vnd.ms-artgalry",
"application/vnd.ms-cab-compressed", "application/vnd.ms-excel",
"application/vnd.ms-excel", "application/vnd.ms-excel", "application/vnd.ms-excel",
"application/vnd.ms-excel", "application/vnd.ms-excel", "application/vnd.ms-excel",
"application/vnd.ms-excel", "application/vnd.ms-excel.addin.macroEnabled.12",
"application/vnd.ms-excel.addin.macroenabled.12", "application/vnd.ms-excel.sheet.binary.macroEnabled.12",
"application/vnd.ms-excel.sheet.binary.macroenabled.12", "application/vnd.ms-excel.sheet.macroEnabled.12",
"application/vnd.ms-excel.sheet.macroenabled.12", "application/vnd.ms-excel.template.macroEnabled.12",
"application/vnd.ms-excel.template.macroenabled.12", "application/vnd.ms-fontobject",
"application/vnd.ms-htmlhelp", "application/vnd.ms-ims", "application/vnd.ms-lrm",
"application/vnd.ms-officetheme", "application/vnd.ms-outlook",
"application/vnd.ms-pki.certstore", "application/vnd.ms-pki.pko",
"application/vnd.ms-pki.seccat", "application/vnd.ms-pki.stl",
"application/vnd.ms-pkicertstore", "application/vnd.ms-pkiseccat",
"application/vnd.ms-pkistl", "application/vnd.ms-powerpoint",
"application/vnd.ms-powerpoint", "application/vnd.ms-powerpoint",
"application/vnd.ms-powerpoint", "application/vnd.ms-powerpoint",
"application/vnd.ms-powerpoint.addin.macroEnabled.12", "application/vnd.ms-powerpoint.addin.macroenabled.12",
"application/vnd.ms-powerpoint.presentation.macroEnabled.12",
"application/vnd.ms-powerpoint.presentation.macroEnabled.12",
"application/vnd.ms-powerpoint.presentation.macroenabled.12",
"application/vnd.ms-powerpoint.presentation.macroenabled.12",
"application/vnd.ms-powerpoint.slide.macroEnabled.12", "application/vnd.ms-powerpoint.slide.macroenabled.12",
"application/vnd.ms-powerpoint.slideshow.macroEnabled.12", "application/vnd.ms-powerpoint.slideshow.macroenabled.12",
"application/vnd.ms-powerpoint.template.macroEnabled.12", "application/vnd.ms-powerpoint.template.macroenabled.12",
"application/vnd.ms-project", "application/vnd.ms-project", "application/vnd.ms-word.document.macroEnabled.12",
"application/vnd.ms-word.document.macroenabled.12", "application/vnd.ms-word.template.macroEnabled.12",
"application/vnd.ms-word.template.macroenabled.12", "application/vnd.ms-works",
"application/vnd.ms-works", "application/vnd.ms-works", "application/vnd.ms-works",
"application/vnd.ms-wpl", "application/vnd.ms-xpsdocument", "application/vnd.mseq",
"application/vnd.musician", "application/vnd.muvee.style", "application/vnd.mynfc",
"application/vnd.neurolanguage.nlu", "application/vnd.nitf",
"application/vnd.nitf", "application/vnd.noblenet-directory",
"application/vnd.noblenet-sealer", "application/vnd.noblenet-web",
"application/vnd.nokia.configuration-message", "application/vnd.nokia.n-gage.data",
"application/vnd.nokia.n-gage.symbian.install", "application/vnd.nokia.radio-preset",
"application/vnd.nokia.radio-presets", "application/vnd.nokia.ringing-tone",
"application/vnd.novadigm.EDM", "application/vnd.novadigm.EDX",
"application/vnd.novadigm.EXT", "application/vnd.novadigm.edm",
"application/vnd.novadigm.edx", "application/vnd.novadigm.ext",
"application/vnd.oasis.opendocument.chart", "application/vnd.oasis.opendocument.chart-template",
"application/vnd.oasis.opendocument.database", "application/vnd.oasis.opendocument.formula",
"application/vnd.oasis.opendocument.formula-template", "application/vnd.oasis.opendocument.graphics",
"application/vnd.oasis.opendocument.graphics-template", "application/vnd.oasis.opendocument.image",
"application/vnd.oasis.opendocument.image-template", "application/vnd.oasis.opendocument.presentation",
"application/vnd.oasis.opendocument.presentation-template", "application/vnd.oasis.opendocument.spreadsheet",
"application/vnd.oasis.opendocument.spreadsheet-template", "application/vnd.oasis.opendocument.text",
"application/vnd.oasis.opendocument.text-master", "application/vnd.oasis.opendocument.text-master",
"application/vnd.oasis.opendocument.text-template", "application/vnd.oasis.opendocument.text-web",
"application/vnd.olpc-sugar", "application/vnd.oma.dd2+xml",
"application/vnd.openofficeorg.extension", "application/vnd.openxmlformats-officedocument.presentationml.presentation",
"application/vnd.openxmlformats-officedocument.presentationml.slide",
"application/vnd.openxmlformats-officedocument.presentationml.slideshow",
"application/vnd.openxmlformats-officedocument.presentationml.template",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"application/vnd.openxmlformats-officedocument.spreadsheetml.template",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/vnd.openxmlformats-officedocument.wordprocessingml.template",
"application/vnd.osgeo.mapguide.package", "application/vnd.osgi.dp",
"application/vnd.osgi.subsystem", "application/vnd.palm", "application/vnd.palm",
"application/vnd.palm", "application/vnd.pawaafile", "application/vnd.pg.format",
"application/vnd.pg.osasli", "application/vnd.picsel", "application/vnd.pmi.widget",
"application/vnd.pocketlearn", "application/vnd.powerbuilder6",
"application/vnd.previewsystems.box", "application/vnd.proteus.magazine",
"application/vnd.publishare-delta-tree", "application/vnd.pvi.ptid1",
"application/vnd.quark.quarkxpress", "application/vnd.quark.quarkxpress",
"application/vnd.quark.quarkxpress", "application/vnd.quark.quarkxpress",
"application/vnd.quark.quarkxpress", "application/vnd.quark.quarkxpress",
"application/vnd.realvnc.bed", "application/vnd.recordare.musicxml",
"application/vnd.recordare.musicxml+xml", "application/vnd.rig.cryptonote",
"application/vnd.rim.cod", "application/vnd.rn-realmedia", "application/vnd.rn-realmedia-vbr",
"application/vnd.rn-realplayer", "application/vnd.route66.link66+xml",
"application/vnd.sailingtracker.track", "application/vnd.seemail",
"application/vnd.sema", "application/vnd.semd", "application/vnd.semf",
"application/vnd.shana.informed.formdata", "application/vnd.shana.informed.formtemplate",
"application/vnd.shana.informed.interchange", "application/vnd.shana.informed.package",
"application/vnd.simtech-mindmapper", "application/vnd.simtech-mindmapper",
"application/vnd.smaf", "application/vnd.smart.teacher", "application/vnd.solent.sdkm+xml",
"application/vnd.solent.sdkm+xml", "application/vnd.spotfire.dxp",
"application/vnd.spotfire.sfs", "application/vnd.stardivision.calc",
"application/vnd.stardivision.draw", "application/vnd.stardivision.impress",
"application/vnd.stardivision.impress", "application/vnd.stardivision.math",
"application/vnd.stardivision.writer", "application/vnd.stardivision.writer",
"application/vnd.stardivision.writer-global", "application/vnd.stepmania.package",
"application/vnd.stepmania.stepchart", "application/vnd.sun.xml.calc",
"application/vnd.sun.xml.calc.template", "application/vnd.sun.xml.draw",
"application/vnd.sun.xml.draw.template", "application/vnd.sun.xml.impress",
"application/vnd.sun.xml.impress.template", "application/vnd.sun.xml.math",
"application/vnd.sun.xml.writer", "application/vnd.sun.xml.writer.global",
"application/vnd.sun.xml.writer.template", "application/vnd.sus-calendar",
"application/vnd.sus-calendar", "application/vnd.svd", "application/vnd.symbian.install",
"application/vnd.symbian.install", "application/vnd.syncml+xml",
"application/vnd.syncml.dm+wbxml", "application/vnd.syncml.dm+xml",
"application/vnd.tao.intent-module-archive", "application/vnd.tcpdump.pcap",
"application/vnd.tcpdump.pcap", "application/vnd.tcpdump.pcap",
"application/vnd.tmobile-livetv", "application/vnd.trid.tpt",
"application/vnd.triscape.mxs", "application/vnd.trueapp", "application/vnd.ufdl",
"application/vnd.ufdl", "application/vnd.uiq.theme", "application/vnd.umajin",
"application/vnd.unity", "application/vnd.uoml+xml", "application/vnd.vcx",
"application/vnd.visio", "application/vnd.visio", "application/vnd.visio",
"application/vnd.visio", "application/vnd.visionary", "application/vnd.vsf",
"application/vnd.wap.sic", "application/vnd.wap.slc", "application/vnd.wap.wbxml",
"application/vnd.wap.wmlc", "application/vnd.wap.wmlscriptc",
"application/vnd.webturbo", "application/vnd.wolfram.player",
"application/vnd.wordperfect", "application/vnd.wqd", "application/vnd.wt.stf",
"application/vnd.xara", "application/vnd.xara", "application/vnd.xfdl",
"application/vnd.yamaha.hv-dic", "application/vnd.yamaha.hv-script",
"application/vnd.yamaha.hv-voice", "application/vnd.yamaha.openscoreformat",
"application/vnd.yamaha.openscoreformat.osfpvg+xml", "application/vnd.yamaha.smaf-audio",
"application/vnd.yamaha.smaf-phrase", "application/vnd.yellowriver-custom-menu",
"application/vnd.zul", "application/vnd.zul", "application/vnd.zzazz.deck+xml",
"application/vocaltec-media-desc", "application/vocaltec-media-file",
"application/voicexml+xml", "application/widget", "application/winhlp",
"application/wordperfect", "application/wordperfect", "application/wordperfect",
"application/wordperfect", "application/wordperfect5.1", "application/wordperfect6.0",
"application/wordperfect6.0", "application/wordperfect6.1", "application/wsdl+xml",
"application/wspolicy+xml", "application/x-123", "application/x-123",
"application/x-7z-compressed", "application/x-abiword", "application/x-ace-compressed",
"application/x-aim", "application/x-apple-diskimage", "application/x-authorware-bin",
"application/x-authorware-bin", "application/x-authorware-bin",
"application/x-authorware-bin", "application/x-authorware-map",
"application/x-authorware-seg", "application/x-bcpio", "application/x-binary",
"application/x-binhex40", "application/x-bittorrent", "application/x-blorb",
"application/x-blorb", "application/x-bsh", "application/x-bsh",
"application/x-bsh", "application/x-bytecode.elisp", "application/x-bytecode.elisp(compiledelisp)",
"application/x-bzip", "application/x-bzip2", "application/x-bzip2",
"application/x-cbr", "application/x-cbr", "application/x-cbr",
"application/x-cbr", "application/x-cbr", "application/x-cdf",
"application/x-cdlink", "application/x-cfs-compressed", "application/x-chat",
"application/x-chat", "application/x-chess-pgn", "application/x-chm",
"application/x-chrome-extension", "application/x-cmu-raster",
"application/x-cocoa", "application/x-compactpro", "application/x-compress",
"application/x-compressed", "application/x-compressed", "application/x-compressed",
"application/x-compressed", "application/x-conference", "application/x-cpio",
"application/x-cpt", "application/x-csh", "application/x-debian-package",
"application/x-debian-package", "application/x-deepv", "application/x-dgc-compressed",
"application/x-director", "application/x-director", "application/x-director",
"application/x-director", "application/x-director", "application/x-director",
"application/x-director", "application/x-director", "application/x-director",
"application/x-dms", "application/x-doom", "application/x-dtbncx+xml",
"application/x-dtbook+xml", "application/x-dtbresource+xml",
"application/x-dvi", "application/x-elc", "application/x-envoy",
"application/x-envoy", "application/x-esrehber", "application/x-eva",
"application/x-excel", "application/x-excel", "application/x-excel",
"application/x-excel", "application/x-excel", "application/x-excel",
"application/x-excel", "application/x-excel", "application/x-excel",
"application/x-excel", "application/x-excel", "application/x-flac",
"application/x-font", "application/x-font", "application/x-font",
"application/x-font", "application/x-font", "application/x-font-bdf",
"application/x-font-ghostscript", "application/x-font-linux-psf",
"application/x-font-otf", "application/x-font-pcf", "application/x-font-snf",
"application/x-font-ttf", "application/x-font-ttf", "application/x-font-type1",
"application/x-font-type1", "application/x-font-type1", "application/x-font-type1",
"application/x-font-woff", "application/x-frame", "application/x-freearc",
"application/x-freelance", "application/x-futuresplash", "application/x-gca-compressed",
"application/x-glulx", "application/x-gnumeric", "application/x-go-sgf",
"application/x-gramps-xml", "application/x-graphing-calculator",
"application/x-gsp", "application/x-gss", "application/x-gtar",
"application/x-gtar", "application/x-gtar", "application/x-gzip",
"application/x-gzip", "application/x-gzip", "application/x-hdf",
"application/x-helpfile", "application/x-helpfile", "application/x-httpd-imap",
"application/x-httpd-php", "application/x-httpd-php", "application/x-httpd-php",
"application/x-httpd-php-source", "application/x-httpd-php3",
"application/x-httpd-php3-preprocessed", "application/x-httpd-php4",
"application/x-ica", "application/x-ima", "application/x-install-instructions",
"application/x-internet-signup", "application/x-internet-signup",
"application/x-internett-signup", "application/x-inventor", "application/x-ip2",
"application/x-iphone", "application/x-iso9660-image", "application/x-java-archive",
"application/x-java-class", "application/x-java-commerce", "application/x-java-jnlp-file",
"application/x-java-serialized-object", "application/x-java-vm",
"application/x-javascript", "application/x-kchart", "application/x-killustrator",
"application/x-koan", "application/x-koan", "application/x-koan",
"application/x-koan", "application/x-kpresenter", "application/x-kpresenter",
"application/x-ksh", "application/x-kspread", "application/x-kword",
"application/x-kword", "application/x-latex", "application/x-latex",
"application/x-lha", "application/x-lisp", "application/x-livescreen",
"application/x-lotus", "application/x-lotusscreencam", "application/x-lua-bytecode",
"application/x-lzh", "application/x-lzh-compressed", "application/x-lzh-compressed",
"application/x-lzx", "application/x-mac-binhex40", "application/x-macbinary",
"application/x-magic-cap-package-1.0", "application/x-maker",
"application/x-maker", "application/x-maker", "application/x-maker",
"application/x-maker", "application/x-maker", "application/x-maker",
"application/x-mathcad", "application/x-meme", "application/x-midi",
"application/x-midi", "application/x-mie", "application/x-mif",
"application/x-mix-transfer", "application/x-mobipocket-ebook",
"application/x-mobipocket-ebook", "application/x-mpegURL", "application/x-mplayer2",
"application/x-ms-application", "application/x-ms-shortcut",
"application/x-ms-wmd", "application/x-ms-wmz", "application/x-ms-xbap",
"application/x-msaccess", "application/x-msbinder", "application/x-mscardfile",
"application/x-msclip", "application/x-msdos-program", "application/x-msdos-program",
"application/x-msdos-program", "application/x-msdos-program",
"application/x-msdownload", "application/x-msdownload", "application/x-msdownload",
"application/x-msdownload", "application/x-msdownload", "application/x-msexcel",
"application/x-msexcel", "application/x-msexcel", "application/x-msi",
"application/x-msmediaview", "application/x-msmediaview", "application/x-msmediaview",
"application/x-msmetafile", "application/x-msmetafile", "application/x-msmetafile",
"application/x-msmetafile", "application/x-msmoney", "application/x-mspowerpoint",
"application/x-mspublisher", "application/x-msschedule", "application/x-msterminal",
"application/x-mswrite", "application/x-navi-animation", "application/x-navidoc",
"application/x-navimap", "application/x-navistyle", "application/x-netcdf",
"application/x-netcdf", "application/x-newton-compatible-pkg",
"application/x-nokia-9000-communicator-add-on-software", "application/x-ns-proxy-autoconfig",
"application/x-nwc", "application/x-nzb", "application/x-object",
"application/x-omc", "application/x-omcdatamaker", "application/x-omcregerator",
"application/x-oz-application", "application/x-pagemaker", "application/x-pagemaker",
"application/x-pcl", "application/x-perfmon", "application/x-perfmon",
"application/x-perfmon", "application/x-perfmon", "application/x-perfmon",
"application/x-pixclscript", "application/x-pkcs10", "application/x-pkcs12",
"application/x-pkcs12", "application/x-pkcs7-certificates", "application/x-pkcs7-certificates",
"application/x-pkcs7-certreqresp", "application/x-pkcs7-crl",
"application/x-pkcs7-mime", "application/x-pkcs7-mime", "application/x-pkcs7-signature",
"application/x-pkcs7-signature", "application/x-pointplus", "application/x-portable-anymap",
"application/x-project", "application/x-project", "application/x-project",
"application/x-project", "application/x-python-code", "application/x-python-code",
"application/x-qpro", "application/x-quicktimeplayer", "application/x-rar-compressed",
"application/x-redhat-package-manager", "application/x-research-info-systems",
"application/x-rpm", "application/x-rtf", "application/x-sdp",
"application/x-sea", "application/x-seelogo", "application/x-sh",
"application/x-shar", "application/x-shar", "application/x-shockwave-flash",
"application/x-shockwave-flash", "application/x-silverlight-app",
"application/x-sit", "application/x-sprite", "application/x-sprite",
"application/x-sql", "application/x-stuffit", "application/x-stuffitx",
"application/x-subrip", "application/x-sv4cpio", "application/x-sv4crc",
"application/x-t3vm-image", "application/x-tads", "application/x-tar",
"application/x-tbook", "application/x-tbook", "application/x-tcl",
"application/x-tex", "application/x-tex-gf", "application/x-tex-pk",
"application/x-tex-tfm", "application/x-texinfo", "application/x-texinfo",
"application/x-tgif", "application/x-trash", "application/x-trash",
"application/x-trash", "application/x-trash", "application/x-trash",
"application/x-troff", "application/x-troff", "application/x-troff",
"application/x-troff-man", "application/x-troff-me", "application/x-troff-ms",
"application/x-troff-msvideo", "application/x-ustar", "application/x-visio",
"application/x-visio", "application/x-visio", "application/x-vnd.audioexplosion.mzz",
"application/x-vnd.ls-xpix", "application/x-vrml", "application/x-wais-source",
"application/x-wais-source", "application/x-web-app-manifest+json",
"application/x-wingz", "application/x-winhelp", "application/x-wintalk",
"application/x-world", "application/x-world", "application/x-wpwin",
"application/x-wri", "application/x-x509-ca-cert", "application/x-x509-ca-cert",
"application/x-x509-ca-cert", "application/x-x509-user-cert",
"application/x-xcf", "application/x-xfig", "application/x-xliff+xml",
"application/x-xpinstall", "application/x-xz", "application/x-zip-compressed",
"application/x-zmachine", "application/x-zmachine", "application/x-zmachine",
"application/x-zmachine", "application/x-zmachine", "application/x-zmachine",
"application/x-zmachine", "application/x-zmachine", "application/xaml+xml",
"application/xcap-diff+xml", "application/xenc+xml", "application/xhtml+xml",
"application/xhtml+xml", "application/xml", "application/xml",
"application/xml", "application/xml-dtd", "application/xop+xml",
"application/xproc+xml", "application/xslt+xml", "application/xspf+xml",
"application/xv+xml", "application/xv+xml", "application/xv+xml",
"application/xv+xml", "application/yang", "application/yin+xml",
"application/ynd.ms-pkipko", "application/zip", "audio/adpcm",
"audio/aiff", "audio/aiff", "audio/aiff", "audio/basic", "audio/basic",
"audio/flac", "audio/it", "audio/make", "audio/make", "audio/make",
"audio/make.my.funk", "audio/mid", "audio/mid", "audio/midi",
"audio/midi", "audio/midi", "audio/midi", "audio/mod", "audio/mp4",
"audio/mp4", "audio/mpeg", "audio/mpeg", "audio/mpeg", "audio/mpeg",
"audio/mpeg", "audio/mpeg", "audio/mpeg", "audio/mpeg", "audio/mpeg",
"audio/mpeg", "audio/mpeg3", "audio/mpegurl", "audio/nspaudio",
"audio/nspaudio", "audio/ogg", "audio/ogg", "audio/ogg", "audio/prs.sid",
"audio/s3m", "audio/silk", "audio/tsp-audio", "audio/tsplayer",
"audio/vnd.dece.audio", "audio/vnd.dece.audio", "audio/vnd.digital-winds",
"audio/vnd.dra", "audio/vnd.dts", "audio/vnd.dts.hd", "audio/vnd.lucent.voice",
"audio/vnd.ms-playready.media.pya", "audio/vnd.nuera.ecelp4800",
"audio/vnd.nuera.ecelp7470", "audio/vnd.nuera.ecelp9600", "audio/vnd.qcelp",
"audio/vnd.rip", "audio/voc", "audio/voxware", "audio/wav", "audio/webm",
"audio/x-aac", "audio/x-adpcm", "audio/x-aiff", "audio/x-aiff",
"audio/x-aiff", "audio/x-au", "audio/x-caf", "audio/x-flac",
"audio/x-gsm", "audio/x-gsm", "audio/x-jam", "audio/x-liveaudio",
"audio/x-matroska", "audio/x-mid", "audio/x-mid", "audio/x-midi",
"audio/x-midi", "audio/x-mod", "audio/x-mpeg", "audio/x-mpeg-3",
"audio/x-mpegurl", "audio/x-mpequrl", "audio/x-ms-wax", "audio/x-ms-wma",
"audio/x-nspaudio", "audio/x-nspaudio", "audio/x-pn-realaudio",
"audio/x-pn-realaudio", "audio/x-pn-realaudio", "audio/x-pn-realaudio",
"audio/x-pn-realaudio", "audio/x-pn-realaudio-plugin", "audio/x-pn-realaudio-plugin",
"audio/x-pn-realaudio-plugin", "audio/x-psid", "audio/x-realaudio",
"audio/x-scpls", "audio/x-sd2", "audio/x-twinvq", "audio/x-twinvq-plugin",
"audio/x-twinvq-plugin", "audio/x-vnd.audioexplosion.mjuicemediafile",
"audio/x-voc", "audio/x-wav", "audio/xm", "chemical/x-cdx", "chemical/x-cif",
"chemical/x-cmdf", "chemical/x-cml", "chemical/x-csml", "chemical/x-pdb",
"chemical/x-pdb", "chemical/x-xyz", "drawing/x-dwf", "drawing/x-dwf(old)",
"font/opentype", "i-world/i-vrml", "image/bmp", "image/bmp",
"image/cgm", "image/cis-cod", "image/cmu-raster", "image/cmu-raster",
"image/fif", "image/florian", "image/florian", "image/g3fax",
"image/gif", "image/ief", "image/ief", "image/jpeg", "image/jpeg",
"image/jpeg", "image/jpeg", "image/jpeg", "image/jutvision",
"image/ktx", "image/naplps", "image/naplps", "image/pcx", "image/pict",
"image/pict", "image/pipeg", "image/pjpeg", "image/pjpeg", "image/pjpeg",
"image/pjpeg", "image/png", "image/png", "image/prs.btif", "image/sgi",
"image/svg+xml", "image/svg+xml", "image/tiff", "image/tiff",
"image/vasa", "image/vnd.adobe.photoshop", "image/vnd.dece.graphic",
"image/vnd.dece.graphic", "image/vnd.dece.graphic", "image/vnd.dece.graphic",
"image/vnd.djvu", "image/vnd.djvu", "image/vnd.dvb.subtitle",
"image/vnd.dwg", "image/vnd.dwg", "image/vnd.dwg", "image/vnd.dxf",
"image/vnd.fastbidsheet", "image/vnd.fpx", "image/vnd.fpx", "image/vnd.fst",
"image/vnd.fujixerox.edmics-mmr", "image/vnd.fujixerox.edmics-rlc",
"image/vnd.ms-modi", "image/vnd.ms-photo", "image/vnd.net-fpx",
"image/vnd.net-fpx", "image/vnd.rn-realflash", "image/vnd.rn-realpix",
"image/vnd.wap.wbmp", "image/vnd.xiff", "image/webp", "image/x-3ds",
"image/x-cmu-rast", "image/x-cmu-raster", "image/x-cmx", "image/x-coreldraw",
"image/x-coreldrawpattern", "image/x-coreldrawtemplate", "image/x-corelphotopaint",
"image/x-dwg", "image/x-dwg", "image/x-dwg", "image/x-freehand",
"image/x-freehand", "image/x-freehand", "image/x-freehand", "image/x-freehand",
"image/x-icon", "image/x-jg", "image/x-jng", "image/x-jps", "image/x-mrsid-image",
"image/x-ms-bmp", "image/x-niff", "image/x-niff", "image/x-pcx",
"image/x-photoshop", "image/x-pict", "image/x-pict", "image/x-portable-anymap",
"image/x-portable-bitmap", "image/x-portable-graymap", "image/x-portable-greymap",
"image/x-portable-pixmap", "image/x-quicktime", "image/x-quicktime",
"image/x-quicktime", "image/x-rgb", "image/x-tga", "image/x-tiff",
"image/x-tiff", "image/x-windows-bmp", "image/x-xbitmap", "image/x-xbitmap",
"image/x-xbm", "image/x-xpixmap", "image/x-xpixmap", "image/x-xwd",
"image/x-xwindowdump", "image/xbm", "image/xpm", "message/rfc822",
"message/rfc822", "message/rfc822", "message/rfc822", "message/rfc822",
"model/iges", "model/iges", "model/mesh", "model/mesh", "model/mesh",
"model/vnd.collada+xml", "model/vnd.dwf", "model/vnd.gdl", "model/vnd.gtw",
"model/vnd.mts", "model/vnd.vtu", "model/vrml", "model/vrml",
"model/vrml", "model/x-pov", "model/x3d+binary", "model/x3d+binary",
"model/x3d+vrml", "model/x3d+vrml", "model/x3d+xml", "model/x3d+xml",
"multipart/x-gzip", "multipart/x-ustar", "multipart/x-zip", "music/crescendo",
"music/crescendo", "music/x-karaoke", "paleovu/x-pv", "text/asp",
"text/cache-manifest", "text/cache-manifest", "text/calendar",
"text/calendar", "text/calendar", "text/comma-separated-values",
"text/css", "text/csv", "text/ecmascript", "text/event-stream",
"text/h323", "text/html", "text/html", "text/html", "text/html",
"text/html", "text/html", "text/html", "text/iuls", "text/javascript",
"text/mathml", "text/mcf", "text/n3", "text/pascal", "text/plain",
"text/plain", "text/plain", "text/plain", "text/plain", "text/plain",
"text/plain", "text/plain", "text/plain", "text/plain", "text/plain",
"text/plain", "text/plain", "text/plain", "text/plain", "text/plain",
"text/plain", "text/plain", "text/plain", "text/plain", "text/plain",
"text/plain", "text/plain", "text/plain", "text/plain", "text/plain",
"text/plain", "text/plain", "text/plain", "text/plain", "text/plain",
"text/plain", "text/plain-bas", "text/prs.lines.tag", "text/richtext",
"text/richtext", "text/richtext", "text/rtf", "text/scriplet",
"text/scriptlet", "text/scriptlet", "text/sgml", "text/sgml",
"text/tab-separated-values", "text/texmacs", "text/texmacs",
"text/troff", "text/troff", "text/troff", "text/troff", "text/troff",
"text/troff", "text/turtle", "text/uri-list", "text/uri-list",
"text/uri-list", "text/uri-list", "text/uri-list", "text/vcard",
"text/vnd.abc", "text/vnd.curl", "text/vnd.curl.dcurl", "text/vnd.curl.mcurl",
"text/vnd.curl.scurl", "text/vnd.dvb.subtitle", "text/vnd.fly",
"text/vnd.fmi.flexstor", "text/vnd.graphviz", "text/vnd.in3d.3dml",
"text/vnd.in3d.spot", "text/vnd.rn-realtext", "text/vnd.sun.j2me.app-descriptor",
"text/vnd.wap.si", "text/vnd.wap.sl", "text/vnd.wap.wml", "text/vnd.wap.wmlscript",
"text/vtt", "text/webviewhtml", "text/x-asm", "text/x-asm", "text/x-audiosoft-intra",
"text/x-c", "text/x-c", "text/x-c", "text/x-c", "text/x-c", "text/x-c",
"text/x-c", "text/x-c++hdr", "text/x-c++hdr", "text/x-c++hdr",
"text/x-c++hdr", "text/x-c++src", "text/x-c++src", "text/x-c++src",
"text/x-c++src", "text/x-chdr", "text/x-component", "text/x-csh",
"text/x-csrc", "text/x-fortran", "text/x-fortran", "text/x-fortran",
"text/x-fortran", "text/x-h", "text/x-h", "text/x-java", "text/x-java-source",
"text/x-java-source", "text/x-la-asf", "text/x-lua", "text/x-m",
"text/x-markdown", "text/x-markdown", "text/x-markdown", "text/x-moc",
"text/x-nfo", "text/x-opml", "text/x-pascal", "text/x-pascal",
"text/x-pcs-gcd", "text/x-perl", "text/x-perl", "text/x-python",
"text/x-script", "text/x-script.csh", "text/x-script.elisp",
"text/x-script.guile", "text/x-script.ksh", "text/x-script.lisp",
"text/x-script.perl", "text/x-script.perl-module", "text/x-script.phyton",
"text/x-script.rexx", "text/x-script.scheme", "text/x-script.sh",
"text/x-script.tcl", "text/x-script.tcsh", "text/x-script.zsh",
"text/x-server-parsed-html", "text/x-server-parsed-html", "text/x-setext",
"text/x-sfv", "text/x-sgml", "text/x-sgml", "text/x-sh", "text/x-speech",
"text/x-speech", "text/x-tcl", "text/x-tcl", "text/x-tex", "text/x-tex",
"text/x-tex", "text/x-tex", "text/x-uil", "text/x-uuencode",
"text/x-uuencode", "text/x-vcalendar", "text/x-vcard", "text/xml",
"video/3gpp", "video/3gpp2", "video/MP2T", "video/animaflex",
"video/avi", "video/avs-video", "video/dl", "video/flc", "video/flc",
"video/fli", "video/fli", "video/gl", "video/h261", "video/h263",
"video/h264", "video/jpeg", "video/jpm", "video/jpm", "video/mj2",
"video/mj2", "video/mp4", "video/mp4", "video/mp4", "video/mpeg",
"video/mpeg", "video/mpeg", "video/mpeg", "video/mpeg", "video/mpeg",
"video/mpeg", "video/mpeg", "video/mpeg", "video/msvideo", "video/ogg",
"video/quicktime", "video/quicktime", "video/quicktime", "video/vdo",
"video/vivo", "video/vivo", "video/vnd.dece.hd", "video/vnd.dece.hd",
"video/vnd.dece.mobile", "video/vnd.dece.mobile", "video/vnd.dece.pd",
"video/vnd.dece.pd", "video/vnd.dece.sd", "video/vnd.dece.sd",
"video/vnd.dece.video", "video/vnd.dece.video", "video/vnd.dvb.file",
"video/vnd.fvt", "video/vnd.mpegurl", "video/vnd.mpegurl", "video/vnd.ms-playready.media.pyv",
"video/vnd.rn-realvideo", "video/vnd.uvvu.mp4", "video/vnd.uvvu.mp4",
"video/vnd.vivo", "video/vnd.vivo", "video/vosaic", "video/webm",
"video/x-amt-demorun", "video/x-amt-showrun", "video/x-atomic3d-feature",
"video/x-dl", "video/x-dv", "video/x-dv", "video/x-f4v", "video/x-fli",
"video/x-flv", "video/x-gl", "video/x-isvideo", "video/x-la-asf",
"video/x-la-asf", "video/x-m4v", "video/x-matroska", "video/x-matroska",
"video/x-matroska", "video/x-mng", "video/x-motion-jpeg", "video/x-mpeg",
"video/x-mpeg", "video/x-mpeq2a", "video/x-ms-asf", "video/x-ms-asf",
"video/x-ms-asf", "video/x-ms-asf-plugin", "video/x-ms-vob",
"video/x-ms-wm", "video/x-ms-wmv", "video/x-ms-wmx", "video/x-ms-wvx",
"video/x-msvideo", "video/x-qtc", "video/x-scm", "video/x-sgi-movie",
"video/x-sgi-movie", "video/x-smv", "windows/metafile", "www/mime",
"x-conference/x-cooltalk", "x-music/x-midi", "x-music/x-midi",
"x-world/x-3dmf", "x-world/x-3dmf", "x-world/x-3dmf", "x-world/x-3dmf",
"x-world/x-svr", "x-world/x-vrml", "x-world/x-vrml", "x-world/x-vrml",
"x-world/x-vrml", "x-world/x-vrml", "x-world/x-vrml", "x-world/x-vrml",
"x-world/x-vrt", "xgl/drawing", "xgl/movie", "application/mathematica",
"application/msword", "application/octet-stream", "application/onenote",
"application/pgp-signature", "application/pkcs7-mime", "application/postscript",
"application/smil+xml", "application/vnd.acucorp", "application/vnd.clonk.c4group",
"application/vnd.eszigno3+xml", "application/vnd.fdsn.seed",
"application/vnd.framemaker", "application/vnd.geometry-explorer",
"application/vnd.grafeq", "application/vnd.ibm.modcap", "application/vnd.iccprofile",
"application/vnd.intercon.formnet", "application/vnd.kahootz",
"application/vnd.kde.kpresenter", "application/vnd.kde.kword",
"application/vnd.kinar", "application/vnd.koan", "application/vnd.ms-excel",
"application/vnd.ms-powerpoint", "application/vnd.ms-project",
"application/vnd.ms-works", "application/vnd.palm", "application/vnd.quark.quarkxpress",
"application/vnd.simtech-mindmapper", "application/vnd.solent.sdkm+xml",
"application/vnd.sus-calendar", "application/vnd.symbian.install",
"application/vnd.ufdl", "application/vnd.visio", "application/vnd.zul",
"application/x-authorware-bin", "application/x-bzip2", "application/x-debian-package",
"application/x-director", "application/x-font-ttf", "application/x-font-type1",
"application/x-mobipocket-ebook", "application/x-msdownload",
"application/x-msmediaview", "application/x-netcdf", "application/x-pkcs12",
"application/x-pkcs7-certificates", "application/x-texinfo",
"application/x-x509-ca-cert", "application/xhtml+xml", "application/xml",
"application/xv+xml", "audio/basic", "audio/midi", "audio/mpeg",
"audio/ogg", "audio/x-aiff", "audio/x-pn-realaudio", "image/jpeg",
"image/svg+xml", "image/tiff", "image/vnd.djvu", "image/x-freehand",
"image/x-pict", "message/rfc822", "model/iges", "model/mesh",
"model/vrml", "text/calendar", "text/html", "text/plain", "text/sgml",
"text/troff", "text/uri-list", "text/x-asm", "text/x-c", "text/x-fortran",
"text/x-pascal", "video/jpm", "video/mj2", "video/mp4", "video/mpeg",
"video/quicktime", "video/vnd.mpegurl", "video/x-ms-asf")), row.names = c(NA,
-1763L), class = c("tbl_df", "tbl", "data.frame"), .Names = c("extension",
"mime_type")) -> simplemagic_mime_db
#' @keywords datasets
#' @references
#'     - <https://tools.ietf.org/html/rfc6838>
#'     - <https://www.iana.org/assignments/media-types/media-types.xhtml>
#'     - <https://s-randomfiles.s3.amazonaws.com/mime/allMimeTypes.json>
#'     - <https://cdn.jsdelivr.net/gh/jshttp/mime-db@@master/db.json>
#' @note Last updated 2019-07-27.
NULL
\ No newline at end of file

M R/get-content-type.R => R/get-content-type.R +8 -8
@@ 1,21 1,21 @@
#' Discover MIME type of a file based on contents
#'
#' There are a limited number of header "magic" bytes checked directly by
#' this function but cover quite a bit of ground. After that, [guess_content_type()] is called which uses
#' file extension-to-MIME mappings. File an issue or PR if more magic-byte-level
#' comparisons are required/desired. If no match is found, `???` is returned.
#' this function but cover quite a bit of ground. After that, [guess_content_type()]
#' is called which uses file extension-to-MIME mappings.
#'
#' @details
#' Initial in-R header mapping logic borrowed from `MimeTypes.java` from
#' [`servoy-client`](https://github.com/Servoy/servoy-client)
#' File an issue or PR if more magic-byte-level
#' comparisons are required/desired. If no match is found, `???` is returned
#' (see [guess_content_type()] for how to override this behaviour).
#'
#' @md
#' @param path path to a file
#' @param ... passed on to [guess_content_type()]
#' @return character vector
#' @export
#' @examples
#' get_content_type(system.file("extdat", "test.pdf", package="wand"))
get_content_type <- function(path) {
get_content_type <- function(path, ...) {

  path <- path.expand(path)
  if (!file.exists(path)) stop("File not found.", call.=FALSE)


@@ 132,6 132,6 @@ get_content_type <- function(path) {
  if (all(c(0x00,0x00,0x01,0xB3) == hdr[1:4])) return("video/mpeg")


  return(guess_content_type(path))
  return(guess_content_type(path, ...))

}

M R/guess-content-type.R => R/guess-content-type.R +38 -10
@@ 1,31 1,59 @@
#' Guess MIME type from filename (extension)
#'
#' Uses an internal database of over 1,500 file extension-to-MIME mappings to
#' Uses an internal database of over 1,800 file extension-to-MIME mappings to
#' return one or more associated types for a given input path. If no match is
#' found, `???` is returned.
#'
#' @details
#' Incorporates standard IANA MIME extension mappings and those from
#' [`servoy-client`](https://github.com/Servoy/servoy-client) and
#' [stevenwdv](https://github.com/stevenwdv)'s
#' [`allMimeTypes.json`](https://s-randomfiles.s3.amazonaws.com/mime/allMimeTypes.json).
#'
#' @md
#' @param path path to file
#' @param not_found MIME type to use when the content cannot be guessed by
#'        file type.
#' @param custom_dbs a single data frames each with two columns:
#'        `mime_type` and `extension`. These sources will be used along with
#'        the built-in sources and will take priority over the built-in sources.
#'        Note that the `extension`s should be lower case as they are in the
#'        official MIME database.
#' @return character vector
#' @export
#' @examples
#' guess_content_type(system.file("extdat", "test.pdf", package="wand"))
guess_content_type <- function(path) {
guess_content_type <- function(path, not_found = "???", custom_db = NULL) {

  path <- path.expand(path)
  if (!file.exists(path)) stop("File not found.", call.=FALSE)

  if (is.null(custom_db)) {
    db <- simplemagic_mime_db
  } else {

    if (inherits(custom_db, "data.frame")) {

      if (!all(c("mime_type", "extension") %in% colnames(custom_db))) {
        stop(
          "'custom_db' must have both 'mime_type' and 'extension' columns.",
          call.=FALSE
        )
      }

      rbind.data.frame(
        custom_db[, c("mime_type", "extension")],
        simplemagic_mime_db
      ) -> db

      db[["mime_type"]] <- as.character(db[["mime_type"]])
      db[["extension"]] <- as.character(db[["extension"]])

    } else {
      stop("'custom_db' must be data frame.", call.=FALSE)
    }

  }

  extension <- trimws(tolower(tools::file_ext(path)))

  res <- simplemagic_mime_db[(simplemagic_mime_db$extension == extension),]$mime_type
  res <- db[(db$extension == extension),]$mime_type

  if (length(res) == 0) return("???")
  if (length(res) == 0) return(not_found)

  return(unique(res))


A R/sysdata.rda => R/sysdata.rda +0 -0
M README.Rmd => README.Rmd +3 -8
@@ 11,14 11,9 @@ hrbrpkghelpr::global_opts()
hrbrpkghelpr::stinking_badges()
```

# wand

Lightweight File 'MIME' Type Detection Based On Contents or Extension

## Description

'MIME' types are shorthand descriptors for file contents and can be
determined from "magic" bytes in file headers, file contents or intuited from file extensions. Tools are provided to perform curated "magic" tests as well as mapping 'MIME' types from a database of over 1,500 extension mappings.
```{r description, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::yank_title_and_description()
```

## SOME IMPORTANT DETAILS


M README.md => README.md +15 -8
@@ 5,7 5,7 @@ developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.re
[![Signed
by](https://img.shields.io/badge/Keybase-Verified-brightgreen.svg)](https://keybase.io/hrbrmstr)
![Signed commit
%](https://img.shields.io/badge/Signed_Commits-24.4%25-lightgrey.svg)
%](https://img.shields.io/badge/Signed_Commits-26.1%25-lightgrey.svg)
[![Linux build
Status](https://travis-ci.org/hrbrmstr/wand.svg?branch=master)](https://travis-ci.org/hrbrmstr/wand)
[![Windows build


@@ 22,14 22,14 @@ Version](https://img.shields.io/badge/R%3E%3D-3.2.0-blue.svg)

# wand

Lightweight File ‘MIME’ Type Detection Based On Contents or Extension
Retrieve Magic Attributes from Files and Directories

## Description

‘MIME’ types are shorthand descriptors for file contents and can be
MIME types are shorthand descriptors for file contents and can be
determined from “magic” bytes in file headers, file contents or intuited
from file extensions. Tools are provided to perform curated “magic”
tests as well as mapping ‘MIME’ types from a database of over 1,500
tests as well as mapping MIME types from a database of over 1,800
extension mappings.

## SOME IMPORTANT DETAILS


@@ 77,7 77,7 @@ library(tidyverse)

# current verison
packageVersion("wand")
## [1] '0.5.0'
## [1] '0.6.0'
```

``` r


@@ 120,11 120,13 @@ list.files(system.file("extdat", package="wand"), full.names=TRUE) %>%
| test.bmp                      | image/bmp                                                                 |
| test.dtd                      | application/xml-dtd                                                       |
| test.emf                      | application/x-msmetafile                                                  |
| test.emf                      | image/emf                                                                 |
| test.eps                      | application/postscript                                                    |
| test.fli                      | video/flc                                                                 |
| test.fli                      | video/fli                                                                 |
| test.fli                      | video/x-fli                                                               |
| test.gif                      | image/gif                                                                 |
| test.ico                      | image/vnd.microsoft.icon                                                  |
| test.ico                      | image/x-icon                                                              |
| test.jpg                      | image/jpeg                                                                |
| test.mp3                      | audio/mp3                                                                 |


@@ 132,8 134,10 @@ list.files(system.file("extdat", package="wand"), full.names=TRUE) %>%
| test.ogg                      | application/ogg                                                           |
| test.ogg                      | audio/ogg                                                                 |
| test.pcx                      | image/pcx                                                                 |
| test.pcx                      | image/vnd.zbrush.pcx                                                      |
| test.pcx                      | image/x-pcx                                                               |
| test.pdf                      | application/pdf                                                           |
| test.pl                       | application/x-perl                                                        |
| test.pl                       | text/plain                                                                |
| test.pl                       | text/x-perl                                                               |
| test.pl                       | text/x-script.perl                                                        |


@@ 156,16 160,19 @@ list.files(system.file("extdat", package="wand"), full.names=TRUE) %>%
| test.sh                       | text/x-script.sh                                                          |
| test.sh                       | text/x-sh                                                                 |
| test.tar                      | application/tar                                                           |
| test.tar.gz                   | application/gzip                                                          |
| test.tar.gz                   | application/octet-stream                                                  |
| test.tar.gz                   | application/x-compressed                                                  |
| test.tar.gz                   | application/x-gzip                                                        |
| test.tga                      | image/x-tga                                                               |
| test.txt                      | text/plain                                                                |
| test.txt.gz                   | application/gzip                                                          |
| test.txt.gz                   | application/octet-stream                                                  |
| test.txt.gz                   | application/x-compressed                                                  |
| test.txt.gz                   | application/x-gzip                                                        |
| test.wav                      | audio/x-wav                                                               |
| test.wmf                      | application/x-msmetafile                                                  |
| test.wmf                      | image/wmf                                                                 |
| test.wmf                      | windows/metafile                                                          |
| test.xcf                      | application/x-xcf                                                         |
| test.xml                      | application/xml                                                           |


@@ 180,9 187,9 @@ list.files(system.file("extdat", package="wand"), full.names=TRUE) %>%

| Lang | \# Files |  (%) | LoC |  (%) | Blank lines |  (%) | \# Lines |  (%) |
| :--- | -------: | ---: | --: | ---: | ----------: | ---: | -------: | ---: |
| R    |        7 | 0.78 | 949 | 0.91 |          52 | 0.72 |       62 | 0.65 |
| JSON |        1 | 0.11 |  80 | 0.08 |           0 | 0.00 |        0 | 0.00 |
| Rmd  |        1 | 0.11 |  16 | 0.02 |          20 | 0.28 |       34 | 0.35 |
| R    |        7 | 0.78 | 154 | 0.61 |          59 | 0.78 |       70 | 0.69 |
| JSON |        1 | 0.11 |  80 | 0.32 |           0 | 0.00 |        0 | 0.00 |
| Rmd  |        1 | 0.11 |  17 | 0.07 |          17 | 0.22 |       31 | 0.31 |

## Code of Conduct


M inst/tinytest/test_wand.R => inst/tinytest/test_wand.R +36 -51
@@ 4,49 4,35 @@ list(
  actions.csv = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
  actions.txt = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
  actions.xlsx = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
  test_128_44_jstereo.mp3 = "audio/mp3",
  test_excel_2000.xls = "application/msword",
  test_excel_spreadsheet.xml = "application/xml",
  test_excel_web_archive.mht = "message/rfc822",
  test_excel.xlsm = "application/zip",
  test_excel.xlsx = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
  test_nocompress.tif = "image/tiff",
  test_powerpoint.pptm = "application/zip",
  test_128_44_jstereo.mp3 = "audio/mp3", test_excel_2000.xls = "application/msword",
  test_excel_spreadsheet.xml = "application/xml", test_excel_web_archive.mht = "message/rfc822",
  test_excel.xlsm = "application/zip", test_excel.xlsx = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
  test_nocompress.tif = "image/tiff", test_powerpoint.pptm = "application/zip",
  test_powerpoint.pptx = "application/vnd.openxmlformats-officedocument.presentationml.presentation",
  test_word_2000.doc = "application/msword",
  test_word_6.0_95.doc = "application/msword",
  test_word.docm = "application/zip",
  test_word.docx = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
  test.au = "audio/basic",
  test.bin = c(
  test_word_2000.doc = "application/msword", test_word_6.0_95.doc = "application/msword",
  test_word.docm = "application/zip", test_word.docx = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
  test.au = "audio/basic", test.bin = c(
    "application/mac-binary",
    "application/macbinary", "application/octet-stream", "application/x-binary",
    "application/x-macbinary"
  ), test.bmp = "image/bmp",
  test.dtd = "application/xml-dtd",
  test.emf = "application/x-msmetafile",
  test.eps = "application/postscript",
  test.fli = c("video/flc", "video/fli", "video/x-fli"),
  test.gif = "image/gif",
  test.ico = "image/x-icon",
  test.jpg = "image/jpeg",
  test.mp3 = "audio/mp3",
  test.odt = "application/vnd.oasis.opendocument.text",
  test.ogg = c(
    "application/ogg",
    "audio/ogg"
  ), test.pcx = c("image/pcx", "image/x-pcx"),
  test.pdf = "application/pdf",
  test.pl = c("text/plain", "text/x-perl", "text/x-script.perl"),
  test.png = "image/png",
  test.pnm = c(
  ), test.bmp = "image/bmp", test.dtd = "application/xml-dtd",
  test.emf = c("application/x-msmetafile", "image/emf"), test.eps = "application/postscript",
  test.fli = c("video/flc", "video/fli", "video/x-fli"), test.gif = "image/gif",
  test.ico = c("image/vnd.microsoft.icon", "image/x-icon"),
  test.jpg = "image/jpeg", test.mp3 = "audio/mp3", test.odt = "application/vnd.oasis.opendocument.text",
  test.ogg = c("application/ogg", "audio/ogg"), test.pcx = c(
    "image/pcx",
    "image/vnd.zbrush.pcx", "image/x-pcx"
  ), test.pdf = "application/pdf",
  test.pl = c(
    "application/x-perl", "text/plain", "text/x-perl",
    "text/x-script.perl"
  ), test.png = "image/png", test.pnm = c(
    "application/x-portable-anymap",
    "image/x-portable-anymap"
  ), test.ppm = "image/x-portable-pixmap",
  test.ppt = "application/msword",
  test.ps = "application/postscript",
  test.psd = "image/photoshop",
  test.py = c(
  test.ppt = "application/msword", test.ps = "application/postscript",
  test.psd = "image/photoshop", test.py = c(
    "text/x-python",
    "text/x-script.phyton"
  ), test.rtf = c(


@@ 56,21 42,20 @@ list(
    "application/x-bsh",
    "application/x-sh", "application/x-shar", "text/x-script.sh",
    "text/x-sh"
  ), test.tar = "application/tar",
  test.tar.gz = c(
    "application/octet-stream",
    "application/x-compressed", "application/x-gzip"
  ), test.tga = "image/x-tga",
  test.txt = "text/plain",
  test.txt.gz = c(
    "application/octet-stream",
    "application/x-compressed", "application/x-gzip"
  ), test.wav = "audio/x-wav",
  test.wmf = c("application/x-msmetafile", "windows/metafile"),
  test.xcf = "application/x-xcf",
  test.xml = "application/xml",
  test.xpm = c("image/x-xbitmap", "image/x-xpixmap", "image/xpm"),
  test.zip = "application/zip"
  ), test.tar = "application/tar", test.tar.gz = c(
    "application/gzip",
    "application/octet-stream", "application/x-compressed", "application/x-gzip"
  ), test.tga = "image/x-tga", test.txt = "text/plain", test.txt.gz = c(
    "application/gzip",
    "application/octet-stream", "application/x-compressed", "application/x-gzip"
  ), test.wav = "audio/x-wav", test.wmf = c(
    "application/x-msmetafile",
    "image/wmf", "windows/metafile"
  ), test.xcf = "application/x-xcf",
  test.xml = "application/xml", test.xpm = c(
    "image/x-xbitmap",
    "image/x-xpixmap", "image/xpm"
  ), test.zip = "application/zip"
) -> results

fils <- list.files(system.file("extdat", package="wand"), full.names=TRUE)

M man/get_content_type.Rd => man/get_content_type.Rd +8 -6
@@ 4,23 4,25 @@
\alias{get_content_type}
\title{Discover MIME type of a file based on contents}
\usage{
get_content_type(path)
get_content_type(path, ...)
}
\arguments{
\item{path}{path to a file}

\item{...}{passed on to \code{\link[=guess_content_type]{guess_content_type()}}}
}
\value{
character vector
}
\description{
There are a limited number of header "magic" bytes checked directly by
this function but cover quite a bit of ground. After that, \code{\link[=guess_content_type]{guess_content_type()}} is called which uses
file extension-to-MIME mappings. File an issue or PR if more magic-byte-level
comparisons are required/desired. If no match is found, \code{???} is returned.
this function but cover quite a bit of ground. After that, \code{\link[=guess_content_type]{guess_content_type()}}
is called which uses file extension-to-MIME mappings.
}
\details{
Initial in-R header mapping logic borrowed from \code{MimeTypes.java} from
\href{https://github.com/Servoy/servoy-client}{servoy-client}
File an issue or PR if more magic-byte-level
comparisons are required/desired. If no match is found, \code{???} is returned
(see \code{\link[=guess_content_type]{guess_content_type()}} for how to override this behaviour).
}
\examples{
get_content_type(system.file("extdat", "test.pdf", package="wand"))

M man/guess_content_type.Rd => man/guess_content_type.Rd +11 -8
@@ 4,25 4,28 @@
\alias{guess_content_type}
\title{Guess MIME type from filename (extension)}
\usage{
guess_content_type(path)
guess_content_type(path, not_found = "???", custom_db = NULL)
}
\arguments{
\item{path}{path to file}

\item{not_found}{MIME type to use when the content cannot be guessed by
file type.}

\item{custom_dbs}{a single data frames each with two columns:
\code{mime_type} and \code{extension}. These sources will be used along with
the built-in sources and will take priority over the built-in sources.
Note that the \code{extension}s should be lower case as they are in the
official MIME database.}
}
\value{
character vector
}
\description{
Uses an internal database of over 1,500 file extension-to-MIME mappings to
Uses an internal database of over 1,800 file extension-to-MIME mappings to
return one or more associated types for a given input path. If no match is
found, \code{???} is returned.
}
\details{
Incorporates standard IANA MIME extension mappings and those from
\href{https://github.com/Servoy/servoy-client}{servoy-client} and
\href{https://github.com/stevenwdv}{stevenwdv}'s
\href{https://s-randomfiles.s3.amazonaws.com/mime/allMimeTypes.json}{allMimeTypes.json}.
}
\examples{
guess_content_type(system.file("extdat", "test.pdf", package="wand"))
}

M man/simplemagic_mime_db.Rd => man/simplemagic_mime_db.Rd +10 -5
@@ 4,11 4,16 @@
\name{simplemagic_mime_db}
\alias{simplemagic_mime_db}
\title{File extension-to-MIME mapping data frame}
\format{An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 1763 rows and 2 columns.}
\usage{
simplemagic_mime_db
}
\description{
File extension-to-MIME mapping data frame
built from the files found in the References
}
\note{
Last updated 2019-07-27.
}
\references{
- <https://tools.ietf.org/html/rfc6838>
    - <https://www.iana.org/assignments/media-types/media-types.xhtml>
    - <https://s-randomfiles.s3.amazonaws.com/mime/allMimeTypes.json>
    - <https://cdn.jsdelivr.net/gh/jshttp/mime-db@master/db.json>
}
\keyword{datasets}

A tools/build-ext-db.R => tools/build-ext-db.R +31 -0
@@ 0,0 1,31 @@
library(tidyverse)

a <- jsonlite::fromJSON("https://s-randomfiles.s3.amazonaws.com/mime/allMimeTypes.json")
b <- jsonlite::fromJSON("https://cdn.jsdelivr.net/gh/jshttp/mime-db@master/db.json")

aa <- map(a, compact)
aa <- keep(aa, lengths(aa)>0)

bb <- keep(b, ~"extensions" %in% names(.x))

map_df(names(aa), ~{
  tibble(
    extension = aa[[.x]],
    mime_type = .x
  ) %>% unnest()
}) -> aa_df

map_df(names(bb), ~{
  tibble(
    extension = bb[[.x]][["extensions"]],
    mime_type = .x
  ) %>% unnest()
}) -> bb_df

bind_rows(aa_df, bb_df, read_csv("tools/orig-db.csv", col_types = "cc")) %>%
  distinct() %>%
  arrange(extension, mime_type) %>%
  mutate_all(as.character) %>%
  mutate_all(trimws) -> simplemagic_mime_db

use_data(simplemagic_mime_db, internal = TRUE, overwrite = TRUE)

A tools/orig-db.csv => tools/orig-db.csv +1764 -0
@@ 0,0 1,1764 @@
extension,mime_type
pyc,application/x-bytecode.python
dwg,application/acad
ez,application/andrew-inset
aw,application/applixware
arj,application/arj
atom,application/atom+xml
xml,application/atom+xml
atomcat,application/atomcat+xml
atomsvc,application/atomsvc+xml
mm,application/base64
mme,application/base64
hqx,application/binhex
hqx,application/binhex4
boo,application/book
book,application/book
ccxml,application/ccxml+xml
cdf,application/cdf
cdmia,application/cdmi-capability
cdmic,application/cdmi-container
cdmid,application/cdmi-domain
cdmio,application/cdmi-object
cdmiq,application/cdmi-queue
ccad,application/clariscad
dp,application/commonground
cu,application/cu-seeme
csm,application/cu-seeme
davmount,application/davmount+xml
dbk,application/docbook+xml
drw,application/drafting
tsp,application/dsptype
dssc,application/dssc+der
xdssc,application/dssc+xml
dxf,application/dxf
es,application/ecmascript
ecma,application/ecmascript
js,application/ecmascript
emma,application/emma+xml
evy,application/envoy
epub,application/epub+zip
xl,application/excel
xla,application/excel
xlb,application/excel
xlc,application/excel
xld,application/excel
xlk,application/excel
xll,application/excel
xlm,application/excel
xls,application/excel
xlt,application/excel
xlv,application/excel
xlw,application/excel
exi,application/exi
pfr,application/font-tdpfr
woff,application/font-woff
fif,application/fractals
frl,application/freeloader
spl,application/futuresplash
gml,application/gml+xml
tgz,application/gnutar
gpx,application/gpx+xml
vew,application/groupwise
gxf,application/gxf
hlp,application/hlp
hta,application/hta
stk,application/hyperstudio
unv,application/i-deas
iges,application/iges
igs,application/iges
inf,application/inf
ink,application/inkml+xml
inkml,application/inkml+xml
acx,application/internet-property-stream
ipfix,application/ipfix
class,application/java
jar,application/java-archive
class,application/java-byte-code
ser,application/java-serialized-object
class,application/java-vm
js,application/javascript
json,application/json
jsonml,application/jsonml+json
lha,application/lha
lostxml,application/lost+xml
lzx,application/lzx
bin,application/mac-binary
hqx,application/mac-binhex
hqx,application/mac-binhex40
cpt,application/mac-compactpro
bin,application/macbinary
mads,application/mads+xml
mrc,application/marc
mrcx,application/marcxml+xml
ma,application/mathematica
nb,application/mathematica
mb,application/mathematica
mathml,application/mathml+xml
mbd,application/mbedlet
mbox,application/mbox
mcd,application/mcad
mscml,application/mediaservercontrol+xml
metalink,application/metalink+xml
meta4,application/metalink4+xml
mets,application/mets+xml
aps,application/mime
mods,application/mods+xml
m21,application/mp21
mp21,application/mp21
mp4,application/mp4
m4p,application/mp4
mp4s,application/mp4
mdb,application/msaccess
one,application/msonenote
onetoc2,application/msonenote
onetmp,application/msonenote
onepkg,application/msonenote
pot,application/mspowerpoint
pps,application/mspowerpoint
ppt,application/mspowerpoint
ppz,application/mspowerpoint
doc,application/msword
dot,application/msword
w6w,application/msword
wiz,application/msword
word,application/msword
wri,application/mswrite
mxf,application/mxf
mcp,application/netmc
bin,application/octet-stream
dms,application/octet-stream
lrf,application/octet-stream
mar,application/octet-stream
so,application/octet-stream
dist,application/octet-stream
distz,application/octet-stream
pkg,application/octet-stream
bpk,application/octet-stream
dump,application/octet-stream
elc,application/octet-stream
a,application/octet-stream
arc,application/octet-stream
arj,application/octet-stream
com,application/octet-stream
exe,application/octet-stream
lha,application/octet-stream
lhx,application/octet-stream
lzh,application/octet-stream
lzx,application/octet-stream
o,application/octet-stream
psd,application/octet-stream
saveme,application/octet-stream
uu,application/octet-stream
zoo,application/octet-stream
class,application/octet-stream
buffer,application/octet-stream
deploy,application/octet-stream
hqx,application/octet-stream
obj,application/octet-stream
lib,application/octet-stream
zip,application/octet-stream
gz,application/octet-stream
dmg,application/octet-stream
iso,application/octet-stream
oda,application/oda
opf,application/oebps-package+xml
ogx,application/ogg
ogg,application/ogg
axs,application/olescript
omdoc,application/omdoc+xml
onetoc,application/onenote
onetoc2,application/onenote
onetmp,application/onenote
onepkg,application/onenote
oxps,application/oxps
xer,application/patch-ops-error+xml
pdf,application/pdf
pgp,application/pgp-encrypted
key,application/pgp-keys
asc,application/pgp-signature
pgp,application/pgp-signature
sig,application/pgp-signature
prf,application/pics-rules
p12,application/pkcs-12
crl,application/pkcs-crl
p10,application/pkcs10
p7m,application/pkcs7-mime
p7c,application/pkcs7-mime
p7s,application/pkcs7-signature
p8,application/pkcs8
ac,application/pkix-attr-cert
cer,application/pkix-cert
crt,application/pkix-cert
crl,application/pkix-crl
pkipath,application/pkix-pkipath
pki,application/pkixcmp
text,application/plain
pls,application/pls+xml
ai,application/postscript
eps,application/postscript
ps,application/postscript
ppt,application/powerpoint
part,application/pro_eng
prt,application/pro_eng
cww,application/prs.cww
pskcxml,application/pskc+xml
rar,application/rar
rdf,application/rdf+xml
rif,application/reginfo+xml
rnc,application/relax-ng-compact-syntax
rl,application/resource-lists+xml
rld,application/resource-lists-diff+xml
rng,application/ringing-tones
rs,application/rls-services+xml
gbr,application/rpki-ghostbusters
mft,application/rpki-manifest
roa,application/rpki-roa
rsd,application/rsd+xml
rss,application/rss+xml
xml,application/rss+xml
rtf,application/rtf
rtx,application/rtf
sbml,application/sbml+xml
scq,application/scvp-cv-request
scs,application/scvp-cv-response
spq,application/scvp-vp-request
spp,application/scvp-vp-response
sdp,application/sdp
sea,application/sea
set,application/set
setpay,application/set-payment-initiation
setreg,application/set-registration-initiation
shf,application/shf+xml
stl,application/sla
smi,application/smil
smil,application/smil
smi,application/smil+xml
smil,application/smil+xml
sol,application/solids
sdr,application/sounder
rq,application/sparql-query
srx,application/sparql-results+xml
gram,application/srgs
grxml,application/srgs+xml
sru,application/sru+xml
ssdl,application/ssdl+xml
ssml,application/ssml+xml
step,application/step
stp,application/step
ssm,application/streamingmedia
tei,application/tei+xml
teicorpus,application/tei+xml
tfi,application/thraud+xml
tsd,application/timestamped-data
tbk,application/toolbook
vda,application/vda
plb,application/vnd.3gpp.pic-bw-large
psb,application/vnd.3gpp.pic-bw-small
pvb,application/vnd.3gpp.pic-bw-var
tcap,application/vnd.3gpp2.tcap
pwn,application/vnd.3m.post-it-notes
aso,application/vnd.accpac.simply.aso
imp,application/vnd.accpac.simply.imp
acu,application/vnd.acucobol
atc,application/vnd.acucorp
acutc,application/vnd.acucorp
air,application/vnd.adobe.air-application-installer-package+zip
fcdt,application/vnd.adobe.formscentral.fcdt
fxp,application/vnd.adobe.fxp
fxpl,application/vnd.adobe.fxp
xdp,application/vnd.adobe.xdp+xml
xfdf,application/vnd.adobe.xfdf
ahead,application/vnd.ahead.space
azf,application/vnd.airzip.filesecure.azf
azs,application/vnd.airzip.filesecure.azs
azw,application/vnd.amazon.ebook
acc,application/vnd.americandynamics.acc
ami,application/vnd.amiga.ami
apk,application/vnd.android.package-archive
cii,application/vnd.anser-web-certificate-issue-initiation
fti,application/vnd.anser-web-funds-transfer-initiation
atx,application/vnd.antix.game-component
mpkg,application/vnd.apple.installer+xml
m3u8,application/vnd.apple.mpegurl
swi,application/vnd.arastra.swi
swi,application/vnd.aristanetworks.swi
iota,application/vnd.astraea-software.iota
aep,application/vnd.audiograph
mpm,application/vnd.blueice.multipass
bmi,application/vnd.bmi
rep,application/vnd.businessobjects
cdxml,application/vnd.chemdraw+xml
mmd,application/vnd.chipnuts.karaoke-mmd
cdy,application/vnd.cinderella
cla,application/vnd.claymore
rp9,application/vnd.cloanto.rp9
c4g,application/vnd.clonk.c4group
c4d,application/vnd.clonk.c4group
c4f,application/vnd.clonk.c4group
c4p,application/vnd.clonk.c4group
c4u,application/vnd.clonk.c4group
c11amc,application/vnd.cluetrust.cartomobile-config
c11amz,application/vnd.cluetrust.cartomobile-config-pkg
csp,application/vnd.commonspace
cdbcmsg,application/vnd.contact.cmsg
cmc,application/vnd.cosmocaller
clkx,application/vnd.crick.clicker
clkk,application/vnd.crick.clicker.keyboard
clkp,application/vnd.crick.clicker.palette
clkt,application/vnd.crick.clicker.template
clkw,application/vnd.crick.clicker.wordbank
wbs,application/vnd.criticaltools.wbs+xml
pml,application/vnd.ctc-posml
ppd,application/vnd.cups-ppd
car,application/vnd.curl.car
pcurl,application/vnd.curl.pcurl
dart,application/vnd.dart
rdz,application/vnd.data-vision.rdz
uvf,application/vnd.dece.data
uvvf,application/vnd.dece.data
uvd,application/vnd.dece.data
uvvd,application/vnd.dece.data
uvt,application/vnd.dece.ttml+xml
uvvt,application/vnd.dece.ttml+xml
uvx,application/vnd.dece.unspecified
uvvx,application/vnd.dece.unspecified
uvz,application/vnd.dece.zip
uvvz,application/vnd.dece.zip
fe_launch,application/vnd.denovo.fcselayout-link
dna,application/vnd.dna
mlp,application/vnd.dolby.mlp
dpg,application/vnd.dpgraph
dfac,application/vnd.dreamfactory
kpxx,application/vnd.ds-keypoint
ait,application/vnd.dvb.ait
svc,application/vnd.dvb.service
geo,application/vnd.dynageo
mag,application/vnd.ecowin.chart
nml,application/vnd.enliven
esf,application/vnd.epson.esf
msf,application/vnd.epson.msf
qam,application/vnd.epson.quickanime
slt,application/vnd.epson.salt
ssf,application/vnd.epson.ssf
es3,application/vnd.eszigno3+xml
et3,application/vnd.eszigno3+xml
ez2,application/vnd.ezpix-album
ez3,application/vnd.ezpix-package
fdf,application/vnd.fdf
mseed,application/vnd.fdsn.mseed
seed,application/vnd.fdsn.seed
dataless,application/vnd.fdsn.seed
gph,application/vnd.flographit
ftc,application/vnd.fluxtime.clip
fm,application/vnd.framemaker
frame,application/vnd.framemaker
maker,application/vnd.framemaker
book,application/vnd.framemaker
fnc,application/vnd.frogans.fnc
ltf,application/vnd.frogans.ltf
fsc,application/vnd.fsc.weblaunch
oas,application/vnd.fujitsu.oasys
oa2,application/vnd.fujitsu.oasys2
oa3,application/vnd.fujitsu.oasys3
fg5,application/vnd.fujitsu.oasysgp
bh2,application/vnd.fujitsu.oasysprs
ddd,application/vnd.fujixerox.ddd
xdw,application/vnd.fujixerox.docuworks
xbd,application/vnd.fujixerox.docuworks.binder
fzs,application/vnd.fuzzysheet
txd,application/vnd.genomatix.tuxedo
ggb,application/vnd.geogebra.file
ggt,application/vnd.geogebra.tool
gex,application/vnd.geometry-explorer
gre,application/vnd.geometry-explorer
gxt,application/vnd.geonext
g2w,application/vnd.geoplan
g3w,application/vnd.geospace
gmx,application/vnd.gmx
kml,application/vnd.google-earth.kml+xml
kmz,application/vnd.google-earth.kmz
gqf,application/vnd.grafeq
gqs,application/vnd.grafeq
gac,application/vnd.groove-account
ghf,application/vnd.groove-help
gim,application/vnd.groove-identity-message
grv,application/vnd.groove-injector
gtm,application/vnd.groove-tool-message
tpl,application/vnd.groove-tool-template
vcg,application/vnd.groove-vcard
hal,application/vnd.hal+xml
zmm,application/vnd.handheld-entertainment+xml
hbci,application/vnd.hbci
les,application/vnd.hhe.lesson-player
hgl,application/vnd.hp-hpgl
hpg,application/vnd.hp-hpgl
hpgl,application/vnd.hp-hpgl
hpid,application/vnd.hp-hpid
hps,application/vnd.hp-hps
jlt,application/vnd.hp-jlyt
pcl,application/vnd.hp-pcl
pclxl,application/vnd.hp-pclxl
sfd-hdstx,application/vnd.hydrostatix.sof-data
x3d,application/vnd.hzn-3d-crossword
mpy,application/vnd.ibm.minipay
afp,application/vnd.ibm.modcap
listafp,application/vnd.ibm.modcap
list3820,application/vnd.ibm.modcap
irm,application/vnd.ibm.rights-management
sc,application/vnd.ibm.secure-container
icc,application/vnd.iccprofile
icm,application/vnd.iccprofile
igl,application/vnd.igloader
ivp,application/vnd.immervision-ivp
ivu,application/vnd.immervision-ivu
igm,application/vnd.insors.igm
xpw,application/vnd.intercon.formnet
xpx,application/vnd.intercon.formnet
i2g,application/vnd.intergeo
qbo,application/vnd.intu.qbo
qfx,application/vnd.intu.qfx
rcprofile,application/vnd.ipunplugged.rcprofile
irp,application/vnd.irepository.package+xml
xpr,application/vnd.is-xpr
fcs,application/vnd.isac.fcs
jam,application/vnd.jam
rms,application/vnd.jcp.javame.midlet-rms
jisp,application/vnd.jisp
joda,application/vnd.joost.joda-archive
ktz,application/vnd.kahootz
ktr,application/vnd.kahootz
karbon,application/vnd.kde.karbon
chrt,application/vnd.kde.kchart
kfo,application/vnd.kde.kformula
flw,application/vnd.kde.kivio
kon,application/vnd.kde.kontour
kpr,application/vnd.kde.kpresenter
kpt,application/vnd.kde.kpresenter
ksp,application/vnd.kde.kspread
kwd,application/vnd.kde.kword
kwt,application/vnd.kde.kword
htke,application/vnd.kenameaapp
kia,application/vnd.kidspiration
kne,application/vnd.kinar
knp,application/vnd.kinar
skp,application/vnd.koan
skd,application/vnd.koan
skt,application/vnd.koan
skm,application/vnd.koan
sse,application/vnd.kodak-descriptor
lasxml,application/vnd.las.las+xml
lbd,application/vnd.llamagraphics.life-balance.desktop
lbe,application/vnd.llamagraphics.life-balance.exchange+xml
123,application/vnd.lotus-1-2-3
apr,application/vnd.lotus-approach
pre,application/vnd.lotus-freelance
nsf,application/vnd.lotus-notes
org,application/vnd.lotus-organizer
scm,application/vnd.lotus-screencam
lwp,application/vnd.lotus-wordpro
portpkg,application/vnd.macports.portpkg
mcd,application/vnd.mcd
mc1,application/vnd.medcalcdata
cdkey,application/vnd.mediastation.cdkey
mwf,application/vnd.mfer
mfm,application/vnd.mfmp
flo,application/vnd.micrografx.flo
igx,application/vnd.micrografx.igx
mif,application/vnd.mif
daf,application/vnd.mobius.daf
dis,application/vnd.mobius.dis
mbk,application/vnd.mobius.mbk
mqy,application/vnd.mobius.mqy
msl,application/vnd.mobius.msl
plc,application/vnd.mobius.plc
txf,application/vnd.mobius.txf
mpn,application/vnd.mophun.application
mpc,application/vnd.mophun.certificate
xul,application/vnd.mozilla.xul+xml
cil,application/vnd.ms-artgalry
cab,application/vnd.ms-cab-compressed
xls,application/vnd.ms-excel
xlm,application/vnd.ms-excel
xla,application/vnd.ms-excel
xlc,application/vnd.ms-excel
xlt,application/vnd.ms-excel
xlb,application/vnd.ms-excel
xll,application/vnd.ms-excel
xlw,application/vnd.ms-excel
xlam,application/vnd.ms-excel.addin.macroEnabled.12
xlam,application/vnd.ms-excel.addin.macroenabled.12
xlsb,application/vnd.ms-excel.sheet.binary.macroEnabled.12
xlsb,application/vnd.ms-excel.sheet.binary.macroenabled.12
xlsm,application/vnd.ms-excel.sheet.macroEnabled.12
xlsm,application/vnd.ms-excel.sheet.macroenabled.12
xltm,application/vnd.ms-excel.template.macroEnabled.12
xltm,application/vnd.ms-excel.template.macroenabled.12
eot,application/vnd.ms-fontobject
chm,application/vnd.ms-htmlhelp
ims,application/vnd.ms-ims
lrm,application/vnd.ms-lrm
thmx,application/vnd.ms-officetheme
msg,application/vnd.ms-outlook
sst,application/vnd.ms-pki.certstore
pko,application/vnd.ms-pki.pko
cat,application/vnd.ms-pki.seccat
stl,application/vnd.ms-pki.stl
sst,application/vnd.ms-pkicertstore
cat,application/vnd.ms-pkiseccat
stl,application/vnd.ms-pkistl
ppt,application/vnd.ms-powerpoint
pps,application/vnd.ms-powerpoint
pot,application/vnd.ms-powerpoint
ppa,application/vnd.ms-powerpoint
pwz,application/vnd.ms-powerpoint
ppam,application/vnd.ms-powerpoint.addin.macroEnabled.12
ppam,application/vnd.ms-powerpoint.addin.macroenabled.12
pptm,application/vnd.ms-powerpoint.presentation.macroEnabled.12
potm,application/vnd.ms-powerpoint.presentation.macroEnabled.12
pptm,application/vnd.ms-powerpoint.presentation.macroenabled.12
potm,application/vnd.ms-powerpoint.presentation.macroenabled.12
sldm,application/vnd.ms-powerpoint.slide.macroEnabled.12
sldm,application/vnd.ms-powerpoint.slide.macroenabled.12
ppsm,application/vnd.ms-powerpoint.slideshow.macroEnabled.12
ppsm,application/vnd.ms-powerpoint.slideshow.macroenabled.12
potm,application/vnd.ms-powerpoint.template.macroEnabled.12
potm,application/vnd.ms-powerpoint.template.macroenabled.12
mpp,application/vnd.ms-project
mpt,application/vnd.ms-project
docm,application/vnd.ms-word.document.macroEnabled.12
docm,application/vnd.ms-word.document.macroenabled.12
dotm,application/vnd.ms-word.template.macroEnabled.12
dotm,application/vnd.ms-word.template.macroenabled.12
wps,application/vnd.ms-works
wks,application/vnd.ms-works
wcm,application/vnd.ms-works
wdb,application/vnd.ms-works
wpl,application/vnd.ms-wpl
xps,application/vnd.ms-xpsdocument
mseq,application/vnd.mseq
mus,application/vnd.musician
msty,application/vnd.muvee.style
taglet,application/vnd.mynfc
nlu,application/vnd.neurolanguage.nlu
ntf,application/vnd.nitf
nitf,application/vnd.nitf
nnd,application/vnd.noblenet-directory
nns,application/vnd.noblenet-sealer
nnw,application/vnd.noblenet-web
ncm,application/vnd.nokia.configuration-message
ngdat,application/vnd.nokia.n-gage.data
n-gage,application/vnd.nokia.n-gage.symbian.install
rpst,application/vnd.nokia.radio-preset
rpss,application/vnd.nokia.radio-presets
rng,application/vnd.nokia.ringing-tone
edm,application/vnd.novadigm.EDM
edx,application/vnd.novadigm.EDX
ext,application/vnd.novadigm.EXT
edm,application/vnd.novadigm.edm
edx,application/vnd.novadigm.edx
ext,application/vnd.novadigm.ext
odc,application/vnd.oasis.opendocument.chart
otc,application/vnd.oasis.opendocument.chart-template
odb,application/vnd.oasis.opendocument.database
odf,application/vnd.oasis.opendocument.formula
odft,application/vnd.oasis.opendocument.formula-template
odg,application/vnd.oasis.opendocument.graphics
otg,application/vnd.oasis.opendocument.graphics-template
odi,application/vnd.oasis.opendocument.image
oti,application/vnd.oasis.opendocument.image-template
odp,application/vnd.oasis.opendocument.presentation
otp,application/vnd.oasis.opendocument.presentation-template
ods,application/vnd.oasis.opendocument.spreadsheet
ots,application/vnd.oasis.opendocument.spreadsheet-template
odt,application/vnd.oasis.opendocument.text
odm,application/vnd.oasis.opendocument.text-master
otm,application/vnd.oasis.opendocument.text-master
ott,application/vnd.oasis.opendocument.text-template
oth,application/vnd.oasis.opendocument.text-web
xo,application/vnd.olpc-sugar
dd2,application/vnd.oma.dd2+xml
oxt,application/vnd.openofficeorg.extension
pptx,application/vnd.openxmlformats-officedocument.presentationml.presentation
sldx,application/vnd.openxmlformats-officedocument.presentationml.slide
ppsx,application/vnd.openxmlformats-officedocument.presentationml.slideshow
potx,application/vnd.openxmlformats-officedocument.presentationml.template
xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
xltx,application/vnd.openxmlformats-officedocument.spreadsheetml.template
docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document
dotx,application/vnd.openxmlformats-officedocument.wordprocessingml.template
mgp,application/vnd.osgeo.mapguide.package
dp,application/vnd.osgi.dp
esa,application/vnd.osgi.subsystem
pdb,application/vnd.palm
pqa,application/vnd.palm
oprc,application/vnd.palm
paw,application/vnd.pawaafile
str,application/vnd.pg.format
ei6,application/vnd.pg.osasli
efif,application/vnd.picsel
wg,application/vnd.pmi.widget
plf,application/vnd.pocketlearn
pbd,application/vnd.powerbuilder6
box,application/vnd.previewsystems.box
mgz,application/vnd.proteus.magazine
qps,application/vnd.publishare-delta-tree
ptid,application/vnd.pvi.ptid1
qxd,application/vnd.quark.quarkxpress
qxt,application/vnd.quark.quarkxpress
qwd,application/vnd.quark.quarkxpress
qwt,application/vnd.quark.quarkxpress
qxl,application/vnd.quark.quarkxpress
qxb,application/vnd.quark.quarkxpress
bed,application/vnd.realvnc.bed
mxl,application/vnd.recordare.musicxml
musicxml,application/vnd.recordare.musicxml+xml
cryptonote,application/vnd.rig.cryptonote
cod,application/vnd.rim.cod
rm,application/vnd.rn-realmedia
rmvb,application/vnd.rn-realmedia-vbr
rnx,application/vnd.rn-realplayer
link66,application/vnd.route66.link66+xml
st,application/vnd.sailingtracker.track
see,application/vnd.seemail
sema,application/vnd.sema
semd,application/vnd.semd
semf,application/vnd.semf
ifm,application/vnd.shana.informed.formdata
itp,application/vnd.shana.informed.formtemplate
iif,application/vnd.shana.informed.interchange
ipk,application/vnd.shana.informed.package
twd,application/vnd.simtech-mindmapper
twds,application/vnd.simtech-mindmapper
mmf,application/vnd.smaf
teacher,application/vnd.smart.teacher
sdkm,application/vnd.solent.sdkm+xml
sdkd,application/vnd.solent.sdkm+xml
dxp,application/vnd.spotfire.dxp
sfs,application/vnd.spotfire.sfs
sdc,application/vnd.stardivision.calc
sda,application/vnd.stardivision.draw
sdd,application/vnd.stardivision.impress
sdp,application/vnd.stardivision.impress
smf,application/vnd.stardivision.math
sdw,application/vnd.stardivision.writer
vor,application/vnd.stardivision.writer
sgl,application/vnd.stardivision.writer-global
smzip,application/vnd.stepmania.package
sm,application/vnd.stepmania.stepchart
sxc,application/vnd.sun.xml.calc
stc,application/vnd.sun.xml.calc.template
sxd,application/vnd.sun.xml.draw
std,application/vnd.sun.xml.draw.template
sxi,application/vnd.sun.xml.impress
sti,application/vnd.sun.xml.impress.template
sxm,application/vnd.sun.xml.math
sxw,application/vnd.sun.xml.writer
sxg,application/vnd.sun.xml.writer.global
stw,application/vnd.sun.xml.writer.template
sus,application/vnd.sus-calendar
susp,application/vnd.sus-calendar
svd,application/vnd.svd
sis,application/vnd.symbian.install
sisx,application/vnd.symbian.install
xsm,application/vnd.syncml+xml
bdm,application/vnd.syncml.dm+wbxml
xdm,application/vnd.syncml.dm+xml
tao,application/vnd.tao.intent-module-archive
pcap,application/vnd.tcpdump.pcap
cap,application/vnd.tcpdump.pcap
dmp,application/vnd.tcpdump.pcap
tmo,application/vnd.tmobile-livetv
tpt,application/vnd.trid.tpt
mxs,application/vnd.triscape.mxs
tra,application/vnd.trueapp
ufd,application/vnd.ufdl
ufdl,application/vnd.ufdl
utz,application/vnd.uiq.theme
umj,application/vnd.umajin
unityweb,application/vnd.unity
uoml,application/vnd.uoml+xml
vcx,application/vnd.vcx
vsd,application/vnd.visio
vst,application/vnd.visio
vss,application/vnd.visio
vsw,application/vnd.visio
vis,application/vnd.visionary
vsf,application/vnd.vsf
sic,application/vnd.wap.sic
slc,application/vnd.wap.slc
wbxml,application/vnd.wap.wbxml
wmlc,application/vnd.wap.wmlc
wmlsc,application/vnd.wap.wmlscriptc
wtb,application/vnd.webturbo
nbp,application/vnd.wolfram.player
wpd,application/vnd.wordperfect
wqd,application/vnd.wqd
stf,application/vnd.wt.stf
xar,application/vnd.xara
web,application/vnd.xara
xfdl,application/vnd.xfdl
hvd,application/vnd.yamaha.hv-dic
hvs,application/vnd.yamaha.hv-script
hvp,application/vnd.yamaha.hv-voice
osf,application/vnd.yamaha.openscoreformat
osfpvg,application/vnd.yamaha.openscoreformat.osfpvg+xml
saf,application/vnd.yamaha.smaf-audio
spf,application/vnd.yamaha.smaf-phrase
cmp,application/vnd.yellowriver-custom-menu
zir,application/vnd.zul
zirz,application/vnd.zul
zaz,application/vnd.zzazz.deck+xml
vmd,application/vocaltec-media-desc
vmf,application/vocaltec-media-file
vxml,application/voicexml+xml
wgt,application/widget
hlp,application/winhlp
wp,application/wordperfect
wp5,application/wordperfect
wp6,application/wordperfect
wpd,application/wordperfect
wp5,application/wordperfect5.1
w60,application/wordperfect6.0
wp5,application/wordperfect6.0
w61,application/wordperfect6.1
wsdl,application/wsdl+xml
wspolicy,application/wspolicy+xml
wk1,application/x-123
wk,application/x-123
7z,application/x-7z-compressed
abw,application/x-abiword
ace,application/x-ace-compressed
aim,application/x-aim
dmg,application/x-apple-diskimage
aab,application/x-authorware-bin
x32,application/x-authorware-bin
u32,application/x-authorware-bin
vox,application/x-authorware-bin
aam,application/x-authorware-map
aas,application/x-authorware-seg
bcpio,application/x-bcpio
bin,application/x-binary
hqx,application/x-binhex40
torrent,application/x-bittorrent
blb,application/x-blorb
blorb,application/x-blorb
bsh,application/x-bsh
sh,application/x-bsh
shar,application/x-bsh
elc,application/x-bytecode.elisp
elc,application/x-bytecode.elisp(compiledelisp)
bz,application/x-bzip
bz2,application/x-bzip2
boz,application/x-bzip2
cbr,application/x-cbr
cba,application/x-cbr
cbt,application/x-cbr
cbz,application/x-cbr
cb7,application/x-cbr
cdf,application/x-cdf
vcd,application/x-cdlink
cfs,application/x-cfs-compressed
chat,application/x-chat
cha,application/x-chat
pgn,application/x-chess-pgn
chm,application/x-chm
crx,application/x-chrome-extension
ras,application/x-cmu-raster
cco,application/x-cocoa
cpt,application/x-compactpro
z,application/x-compress
gz,application/x-compressed
tgz,application/x-compressed
z,application/x-compressed
zip,application/x-compressed
nsc,application/x-conference
cpio,application/x-cpio
cpt,application/x-cpt
csh,application/x-csh
deb,application/x-debian-package
udeb,application/x-debian-package
deepv,application/x-deepv
dgc,application/x-dgc-compressed
dir,application/x-director
dcr,application/x-director
dxr,application/x-director
cst,application/x-director
cct,application/x-director
cxt,application/x-director
w3d,application/x-director
fgd,application/x-director
swa,application/x-director
dms,application/x-dms
wad,application/x-doom
ncx,application/x-dtbncx+xml
dtb,application/x-dtbook+xml
res,application/x-dtbresource+xml
dvi,application/x-dvi
elc,application/x-elc
env,application/x-envoy
evy,application/x-envoy
es,application/x-esrehber
eva,application/x-eva
xla,application/x-excel
xlb,application/x-excel
xlc,application/x-excel
xld,application/x-excel
xlk,application/x-excel
xll,application/x-excel
xlm,application/x-excel
xls,application/x-excel
xlt,application/x-excel
xlv,application/x-excel
xlw,application/x-excel
flac,application/x-flac
pfa,application/x-font
pfb,application/x-font
gsf,application/x-font
pcf,application/x-font
pcf.Z,application/x-font
bdf,application/x-font-bdf
gsf,application/x-font-ghostscript
psf,application/x-font-linux-psf
otf,application/x-font-otf
pcf,application/x-font-pcf
snf,application/x-font-snf
ttf,application/x-font-ttf
ttc,application/x-font-ttf
pfa,application/x-font-type1
pfb,application/x-font-type1
pfm,application/x-font-type1
afm,application/x-font-type1
woff,application/x-font-woff
mif,application/x-frame
arc,application/x-freearc
pre,application/x-freelance
spl,application/x-futuresplash
gca,application/x-gca-compressed
ulx,application/x-glulx
gnumeric,application/x-gnumeric
sgf,application/x-go-sgf
gramps,application/x-gramps-xml
gcf,application/x-graphing-calculator
gsp,application/x-gsp
gss,application/x-gss
gtar,application/x-gtar
tgz,application/x-gtar
taz,application/x-gtar
gz,application/x-gzip
gzip,application/x-gzip
tgz,application/x-gzip
hdf,application/x-hdf
help,application/x-helpfile
hlp,application/x-helpfile
imap,application/x-httpd-imap
phtml,application/x-httpd-php
pht,application/x-httpd-php
php,application/x-httpd-php
phps,application/x-httpd-php-source
php3,application/x-httpd-php3
php3p,application/x-httpd-php3-preprocessed
php4,application/x-httpd-php4
ica,application/x-ica
ima,application/x-ima
install,application/x-install-instructions
ins,application/x-internet-signup
isp,application/x-internet-signup
ins,application/x-internett-signup
iv,application/x-inventor
ip,application/x-ip2
iii,application/x-iphone
iso,application/x-iso9660-image
jar,application/x-java-archive
class,application/x-java-class
jcm,application/x-java-commerce
jnlp,application/x-java-jnlp-file
ser,application/x-java-serialized-object
class,application/x-java-vm
js,application/x-javascript
chrt,application/x-kchart
kil,application/x-killustrator
skd,application/x-koan
skm,application/x-koan
skp,application/x-koan
skt,application/x-koan
kpr,application/x-kpresenter
kpt,application/x-kpresenter
ksh,application/x-ksh
ksp,application/x-kspread
kwd,application/x-kword
kwt,application/x-kword
latex,application/x-latex
ltx,application/x-latex
lha,application/x-lha
lsp,application/x-lisp
ivy,application/x-livescreen
wq1,application/x-lotus
scm,application/x-lotusscreencam
luac,application/x-lua-bytecode
lzh,application/x-lzh
lzh,application/x-lzh-compressed
lha,application/x-lzh-compressed
lzx,application/x-lzx
hqx,application/x-mac-binhex40
bin,application/x-macbinary
mc$,application/x-magic-cap-package-1.0
frm,application/x-maker
maker,application/x-maker
frame,application/x-maker
fm,application/x-maker
fb,application/x-maker
book,application/x-maker
fbdoc,application/x-maker
mcd,application/x-mathcad
mm,application/x-meme
mid,application/x-midi
midi,application/x-midi
mie,application/x-mie
mif,application/x-mif
nix,application/x-mix-transfer
prc,application/x-mobipocket-ebook
mobi,application/x-mobipocket-ebook
m3u8,application/x-mpegURL
asx,application/x-mplayer2
application,application/x-ms-application
lnk,application/x-ms-shortcut
wmd,application/x-ms-wmd
wmz,application/x-ms-wmz
xbap,application/x-ms-xbap
mdb,application/x-msaccess
obd,application/x-msbinder
crd,application/x-mscardfile
clp,application/x-msclip
com,application/x-msdos-program
exe,application/x-msdos-program
bat,application/x-msdos-program
dll,application/x-msdos-program
exe,application/x-msdownload
dll,application/x-msdownload
com,application/x-msdownload
bat,application/x-msdownload
msi,application/x-msdownload
xla,application/x-msexcel
xls,application/x-msexcel
xlw,application/x-msexcel
msi,application/x-msi
mvb,application/x-msmediaview
m13,application/x-msmediaview
m14,application/x-msmediaview
wmf,application/x-msmetafile
wmz,application/x-msmetafile
emf,application/x-msmetafile
emz,application/x-msmetafile
mny,application/x-msmoney
ppt,application/x-mspowerpoint
pub,application/x-mspublisher
scd,application/x-msschedule
trm,application/x-msterminal
wri,application/x-mswrite
ani,application/x-navi-animation
nvd,application/x-navidoc
map,application/x-navimap
stl,application/x-navistyle
nc,application/x-netcdf
cdf,application/x-netcdf
pkg,application/x-newton-compatible-pkg
aos,application/x-nokia-9000-communicator-add-on-software
pac,application/x-ns-proxy-autoconfig
nwc,application/x-nwc
nzb,application/x-nzb
o,application/x-object
omc,application/x-omc
omcd,application/x-omcdatamaker
omcr,application/x-omcregerator
oza,application/x-oz-application
pm4,application/x-pagemaker
pm5,application/x-pagemaker
pcl,application/x-pcl
pma,application/x-perfmon
pmc,application/x-perfmon
pml,application/x-perfmon
pmr,application/x-perfmon
pmw,application/x-perfmon
plx,application/x-pixclscript
p10,application/x-pkcs10
p12,application/x-pkcs12
pfx,application/x-pkcs12
p7b,application/x-pkcs7-certificates
spc,application/x-pkcs7-certificates
p7r,application/x-pkcs7-certreqresp
crl,application/x-pkcs7-crl
p7c,application/x-pkcs7-mime
p7m,application/x-pkcs7-mime
p7a,application/x-pkcs7-signature
p7s,application/x-pkcs7-signature
css,application/x-pointplus
pnm,application/x-portable-anymap
mpc,application/x-project
mpt,application/x-project
mpv,application/x-project
mpx,application/x-project
pyc,application/x-python-code
pyo,application/x-python-code
wb1,application/x-qpro
qtl,application/x-quicktimeplayer
rar,application/x-rar-compressed
rpm,application/x-redhat-package-manager
ris,application/x-research-info-systems
rpm,application/x-rpm
rtf,application/x-rtf
sdp,application/x-sdp
sea,application/x-sea
sl,application/x-seelogo
sh,application/x-sh
shar,application/x-shar
sh,application/x-shar
swf,application/x-shockwave-flash
swfl,application/x-shockwave-flash
xap,application/x-silverlight-app
sit,application/x-sit
spr,application/x-sprite
sprite,application/x-sprite
sql,application/x-sql
sit,application/x-stuffit
sitx,application/x-stuffitx
srt,application/x-subrip
sv4cpio,application/x-sv4cpio
sv4crc,application/x-sv4crc
t3,application/x-t3vm-image
gam,application/x-tads
tar,application/x-tar
sbk,application/x-tbook
tbk,application/x-tbook
tcl,application/x-tcl
tex,application/x-tex
gf,application/x-tex-gf
pk,application/x-tex-pk
tfm,application/x-tex-tfm
texinfo,application/x-texinfo
texi,application/x-texinfo
obj,application/x-tgif
~,application/x-trash
%,application/x-trash
bak,application/x-trash
old,application/x-trash
sik,application/x-trash
roff,application/x-troff
t,application/x-troff
tr,application/x-troff
man,application/x-troff-man
me,application/x-troff-me
ms,application/x-troff-ms
avi,application/x-troff-msvideo
ustar,application/x-ustar
vsd,application/x-visio
vst,application/x-visio
vsw,application/x-visio
mzz,application/x-vnd.audioexplosion.mzz
xpix,application/x-vnd.ls-xpix
vrml,application/x-vrml
src,application/x-wais-source
wsrc,application/x-wais-source
webapp,application/x-web-app-manifest+json
wz,application/x-wingz
hlp,application/x-winhelp
wtk,application/x-wintalk
svr,application/x-world
wrl,application/x-world
wpd,application/x-wpwin
wri,application/x-wri
der,application/x-x509-ca-cert
cer,application/x-x509-ca-cert
crt,application/x-x509-ca-cert
crt,application/x-x509-user-cert
xcf,application/x-xcf
fig,application/x-xfig
xlf,application/x-xliff+xml
xpi,application/x-xpinstall
xz,application/x-xz
zip,application/x-zip-compressed
z1,application/x-zmachine
z2,application/x-zmachine
z3,application/x-zmachine
z4,application/x-zmachine
z5,application/x-zmachine
z6,application/x-zmachine
z7,application/x-zmachine
z8,application/x-zmachine
xaml,application/xaml+xml
xdf,application/xcap-diff+xml
xenc,application/xenc+xml
xhtml,application/xhtml+xml
xht,application/xhtml+xml
xml,application/xml
xsl,application/xml
xpdl,application/xml
dtd,application/xml-dtd
xop,application/xop+xml
xpl,application/xproc+xml
xslt,application/xslt+xml
xspf,application/xspf+xml
mxml,application/xv+xml
xhvml,application/xv+xml
xvml,application/xv+xml
xvm,application/xv+xml
yang,application/yang
yin,application/yin+xml
pko,application/ynd.ms-pkipko
zip,application/zip
adp,audio/adpcm
aif,audio/aiff
aifc,audio/aiff
aiff,audio/aiff
au,audio/basic
snd,audio/basic
flac,audio/flac
it,audio/it
funk,audio/make
my,audio/make
pfunk,audio/make
pfunk,audio/make.my.funk
rmi,audio/mid
mid,audio/mid
mid,audio/midi
midi,audio/midi
kar,audio/midi
rmi,audio/midi
mod,audio/mod
mp4a,audio/mp4
m4a,audio/mp4
mpga,audio/mpeg
mp2,audio/mpeg
mp2a,audio/mpeg
mp3,audio/mpeg
m2a,audio/mpeg
mpa,audio/mpeg
mpg,audio/mpeg
m3a,audio/mpeg
mpega,audio/mpeg
m4a,audio/mpeg
mp3,audio/mpeg3
m3u,audio/mpegurl
la,audio/nspaudio
lma,audio/nspaudio
oga,audio/ogg
ogg,audio/ogg
spx,audio/ogg
sid,audio/prs.sid
s3m,audio/s3m
sil,audio/silk
tsi,audio/tsp-audio
tsp,audio/tsplayer
uva,audio/vnd.dece.audio
uvva,audio/vnd.dece.audio
eol,audio/vnd.digital-winds
dra,audio/vnd.dra
dts,audio/vnd.dts
dtshd,audio/vnd.dts.hd
lvp,audio/vnd.lucent.voice
pya,audio/vnd.ms-playready.media.pya
ecelp4800,audio/vnd.nuera.ecelp4800
ecelp7470,audio/vnd.nuera.ecelp7470
ecelp9600,audio/vnd.nuera.ecelp9600
qcp,audio/vnd.qcelp
rip,audio/vnd.rip
voc,audio/voc
vox,audio/voxware
wav,audio/wav
weba,audio/webm
aac,audio/x-aac
snd,audio/x-adpcm
aif,audio/x-aiff
aiff,audio/x-aiff
aifc,audio/x-aiff
au,audio/x-au
caf,audio/x-caf
flac,audio/x-flac
gsd,audio/x-gsm
gsm,audio/x-gsm
jam,audio/x-jam
lam,audio/x-liveaudio
mka,audio/x-matroska
mid,audio/x-mid
midi,audio/x-mid
mid,audio/x-midi
midi,audio/x-midi
mod,audio/x-mod
mp2,audio/x-mpeg
mp3,audio/x-mpeg-3
m3u,audio/x-mpegurl
m3u,audio/x-mpequrl
wax,audio/x-ms-wax
wma,audio/x-ms-wma
la,audio/x-nspaudio
lma,audio/x-nspaudio
ram,audio/x-pn-realaudio
ra,audio/x-pn-realaudio
rm,audio/x-pn-realaudio
rmm,audio/x-pn-realaudio
rmp,audio/x-pn-realaudio
rmp,audio/x-pn-realaudio-plugin
ra,audio/x-pn-realaudio-plugin
rpm,audio/x-pn-realaudio-plugin
sid,audio/x-psid
ra,audio/x-realaudio
pls,audio/x-scpls
sd2,audio/x-sd2
vqf,audio/x-twinvq
vqe,audio/x-twinvq-plugin
vql,audio/x-twinvq-plugin
mjf,audio/x-vnd.audioexplosion.mjuicemediafile
voc,audio/x-voc
wav,audio/x-wav
xm,audio/xm
cdx,chemical/x-cdx
cif,chemical/x-cif
cmdf,chemical/x-cmdf
cml,chemical/x-cml
csml,chemical/x-csml
pdb,chemical/x-pdb
xyz,chemical/x-pdb
xyz,chemical/x-xyz
dwf,drawing/x-dwf
dwf,drawing/x-dwf(old)
otf,font/opentype
ivr,i-world/i-vrml
bmp,image/bmp
bm,image/bmp
cgm,image/cgm
cod,image/cis-cod
ras,image/cmu-raster
rast,image/cmu-raster
fif,image/fif
flo,image/florian
turbot,image/florian
g3,image/g3fax
gif,image/gif
ief,image/ief
iefs,image/ief
jpeg,image/jpeg
jpg,image/jpeg
jfif,image/jpeg
jfif-tbnl,image/jpeg
jpe,image/jpeg
jut,image/jutvision
ktx,image/ktx
nap,image/naplps
naplps,image/naplps
pcx,image/pcx
pic,image/pict
pict,image/pict
jfif,image/pipeg
jfif,image/pjpeg
jpe,image/pjpeg
jpeg,image/pjpeg
jpg,image/pjpeg
png,image/png
x-png,image/png
btif,image/prs.btif
sgi,image/sgi
svg,image/svg+xml
svgz,image/svg+xml
tiff,image/tiff
tif,image/tiff
mcf,image/vasa
psd,image/vnd.adobe.photoshop
uvi,image/vnd.dece.graphic
uvvi,image/vnd.dece.graphic
uvg,image/vnd.dece.graphic
uvvg,image/vnd.dece.graphic
djvu,image/vnd.djvu
djv,image/vnd.djvu
sub,image/vnd.dvb.subtitle
dwg,image/vnd.dwg
dxf,image/vnd.dwg
svf,image/vnd.dwg
dxf,image/vnd.dxf
fbs,image/vnd.fastbidsheet
fpx,image/vnd.fpx
fpix,image/vnd.fpx
fst,image/vnd.fst
mmr,image/vnd.fujixerox.edmics-mmr
rlc,image/vnd.fujixerox.edmics-rlc
mdi,image/vnd.ms-modi
wdp,image/vnd.ms-photo
npx,image/vnd.net-fpx
fpx,image/vnd.net-fpx
rf,image/vnd.rn-realflash
rp,image/vnd.rn-realpix
wbmp,image/vnd.wap.wbmp
xif,image/vnd.xiff
webp,image/webp
3ds,image/x-3ds
ras,image/x-cmu-rast
ras,image/x-cmu-raster
cmx,image/x-cmx
cdr,image/x-coreldraw
pat,image/x-coreldrawpattern
cdt,image/x-coreldrawtemplate
cpt,image/x-corelphotopaint
dwg,image/x-dwg
dxf,image/x-dwg
svf,image/x-dwg
fh,image/x-freehand
fhc,image/x-freehand
fh4,image/x-freehand
fh5,image/x-freehand
fh7,image/x-freehand
ico,image/x-icon
art,image/x-jg
jng,image/x-jng
jps,image/x-jps
sid,image/x-mrsid-image
bmp,image/x-ms-bmp
nif,image/x-niff
niff,image/x-niff
pcx,image/x-pcx
psd,image/x-photoshop
pic,image/x-pict
pct,image/x-pict
pnm,image/x-portable-anymap
pbm,image/x-portable-bitmap
pgm,image/x-portable-graymap
pgm,image/x-portable-greymap
ppm,image/x-portable-pixmap
qif,image/x-quicktime
qti,image/x-quicktime
qtif,image/x-quicktime
rgb,image/x-rgb
tga,image/x-tga
tif,image/x-tiff
tiff,image/x-tiff
bmp,image/x-windows-bmp
xbm,image/x-xbitmap
xpm,image/x-xbitmap
xbm,image/x-xbm
xpm,image/x-xpixmap
pm,image/x-xpixmap
xwd,image/x-xwd
xwd,image/x-xwindowdump
xbm,image/xbm
xpm,image/xpm
eml,message/rfc822
mht,message/rfc822
mhtml,message/rfc822
mime,message/rfc822
nws,message/rfc822
igs,model/iges
iges,model/iges
msh,model/mesh
mesh,model/mesh
silo,model/mesh
dae,model/vnd.collada+xml
dwf,model/vnd.dwf
gdl,model/vnd.gdl
gtw,model/vnd.gtw
mts,model/vnd.mts
vtu,model/vnd.vtu
wrl,model/vrml
vrml,model/vrml
wrz,model/vrml
pov,model/x-pov
x3db,model/x3d+binary
x3dbz,model/x3d+binary
x3dv,model/x3d+vrml
x3dvz,model/x3d+vrml
x3d,model/x3d+xml
x3dz,model/x3d+xml
gzip,multipart/x-gzip
ustar,multipart/x-ustar
zip,multipart/x-zip
mid,music/crescendo
midi,music/crescendo
kar,music/x-karaoke
pvu,paleovu/x-pv
asp,text/asp
appcache,text/cache-manifest
manifest,text/cache-manifest
ics,text/calendar
ifb,text/calendar
icz,text/calendar
csv,text/comma-separated-values
css,text/css
csv,text/csv
js,text/ecmascript
event-stream,text/event-stream
323,text/h323
html,text/html
acgi,text/html
htm,text/html
htmls,text/html
htx,text/html
shtml,text/html
stm,text/html
uls,text/iuls
js,text/javascript
mml,text/mathml
mcf,text/mcf
n3,text/n3
pas,text/pascal
txt,text/plain
text,text/plain
conf,text/plain
def,text/plain
list,text/plain
log,text/plain
c,text/plain
c++,text/plain
cc,text/plain
com,text/plain
cxx,text/plain
f,text/plain
f90,text/plain
for,text/plain
g,text/plain
h,text/plain
hh,text/plain
idc,text/plain
jav,text/plain
java,text/plain
lst,text/plain
m,text/plain
mar,text/plain
pl,text/plain
sdml,text/plain
bas,text/plain
in,text/plain
asc,text/plain
diff,text/plain
pot,text/plain
el,text/plain
ksh,text/plain
par,text/plain-bas
dsc,text/prs.lines.tag
rtx,text/richtext
rt,text/richtext
rtf,text/richtext
rtf,text/rtf
wsc,text/scriplet
sct,text/scriptlet
wsc,text/scriptlet
sgml,text/sgml
sgm,text/sgml
tsv,text/tab-separated-values
tm,text/texmacs
ts,text/texmacs
t,text/troff
tr,text/troff
roff,text/troff
man,text/troff
me,text/troff
ms,text/troff
ttl,text/turtle
uri,text/uri-list
uris,text/uri-list
uni,text/uri-list
unis,text/uri-list
urls,text/uri-list
vcard,text/vcard
abc,text/vnd.abc
curl,text/vnd.curl
dcurl,text/vnd.curl.dcurl
mcurl,text/vnd.curl.mcurl
scurl,text/vnd.curl.scurl
sub,text/vnd.dvb.subtitle
fly,text/vnd.fly
flx,text/vnd.fmi.flexstor
gv,text/vnd.graphviz
3dml,text/vnd.in3d.3dml
spot,text/vnd.in3d.spot
rt,text/vnd.rn-realtext
jad,text/vnd.sun.j2me.app-descriptor
si,text/vnd.wap.si
sl,text/vnd.wap.sl
wml,text/vnd.wap.wml
wmls,text/vnd.wap.wmlscript
vtt,text/vtt
htt,text/webviewhtml
s,text/x-asm
asm,text/x-asm
aip,text/x-audiosoft-intra
c,text/x-c
cc,text/x-c
cxx,text/x-c
cpp,text/x-c
h,text/x-c
hh,text/x-c
dic,text/x-c
h++,text/x-c++hdr
hpp,text/x-c++hdr
hxx,text/x-c++hdr
hh,text/x-c++hdr
c++,text/x-c++src
cpp,text/x-c++src
cxx,text/x-c++src
cc,text/x-c++src
h,text/x-chdr
htc,text/x-component
csh,text/x-csh
c,text/x-csrc
f,text/x-fortran
for,text/x-fortran
f77,text/x-fortran
f90,text/x-fortran
h,text/x-h
hh,text/x-h
java,text/x-java
java,text/x-java-source
jav,text/x-java-source
lsx,text/x-la-asf
lua,text/x-lua
m,text/x-m
markdown,text/x-markdown
md,text/x-markdown
mkd,text/x-markdown
moc,text/x-moc
nfo,text/x-nfo
opml,text/x-opml
p,text/x-pascal
pas,text/x-pascal
gcd,text/x-pcs-gcd
pl,text/x-perl
pm,text/x-perl
py,text/x-python
hlb,text/x-script
csh,text/x-script.csh
el,text/x-script.elisp
scm,text/x-script.guile
ksh,text/x-script.ksh
lsp,text/x-script.lisp
pl,text/x-script.perl
pm,text/x-script.perl-module
py,text/x-script.phyton
rexx,text/x-script.rexx
scm,text/x-script.scheme
sh,text/x-script.sh
tcl,text/x-script.tcl
tcsh,text/x-script.tcsh
zsh,text/x-script.zsh
shtml,text/x-server-parsed-html
ssi,text/x-server-parsed-html
etx,text/x-setext
sfv,text/x-sfv
sgm,text/x-sgml
sgml,text/x-sgml
sh,text/x-sh
spc,text/x-speech
talk,text/x-speech
tcl,text/x-tcl
tk,text/x-tcl
tex,text/x-tex
ltx,text/x-tex
sty,text/x-tex
cls,text/x-tex
uil,text/x-uil
uu,text/x-uuencode
uue,text/x-uuencode
vcs,text/x-vcalendar
vcf,text/x-vcard
xml,text/xml
3gp,video/3gpp
3g2,video/3gpp2
ts,video/MP2T
afl,video/animaflex
avi,video/avi
avs,video/avs-video
dl,video/dl
flc,video/flc
fli,video/flc
flc,video/fli
fli,video/fli
gl,video/gl
h261,video/h261
h263,video/h263
h264,video/h264
jpgv,video/jpeg
jpm,video/jpm
jpgm,video/jpm
mj2,video/mj2
mjp2,video/mj2
mp4,video/mp4
mp4v,video/mp4
mpg4,video/mp4
mpeg,video/mpeg
mpg,video/mpeg
mpe,video/mpeg
m1v,video/mpeg
m2v,video/mpeg
mp2,video/mpeg
mp3,video/mpeg
mpa,video/mpeg
mpv2,video/mpeg
avi,video/msvideo
ogv,video/ogg
qt,video/quicktime
moov,video/quicktime
mov,video/quicktime
vdo,video/vdo
viv,video/vivo
vivo,video/vivo
uvh,video/vnd.dece.hd
uvvh,video/vnd.dece.hd
uvm,video/vnd.dece.mobile
uvvm,video/vnd.dece.mobile
uvp,video/vnd.dece.pd
uvvp,video/vnd.dece.pd
uvs,video/vnd.dece.sd
uvvs,video/vnd.dece.sd
uvv,video/vnd.dece.video
uvvv,video/vnd.dece.video
dvb,video/vnd.dvb.file
fvt,video/vnd.fvt
mxu,video/vnd.mpegurl
m4u,video/vnd.mpegurl
pyv,video/vnd.ms-playready.media.pyv
rv,video/vnd.rn-realvideo
uvu,video/vnd.uvvu.mp4
uvvu,video/vnd.uvvu.mp4
viv,video/vnd.vivo
vivo,video/vnd.vivo
vos,video/vosaic
webm,video/webm
xdr,video/x-amt-demorun
xsr,video/x-amt-showrun
fmf,video/x-atomic3d-feature
dl,video/x-dl
dif,video/x-dv
dv,video/x-dv
f4v,video/x-f4v
fli,video/x-fli
flv,video/x-flv
gl,video/x-gl
isu,video/x-isvideo
lsf,video/x-la-asf
lsx,video/x-la-asf
m4v,video/x-m4v
mkv,video/x-matroska
mk3d,video/x-matroska
mks,video/x-matroska
mng,video/x-mng
mjpg,video/x-motion-jpeg
mp2,video/x-mpeg
mp3,video/x-mpeg
mp2,video/x-mpeq2a
asf,video/x-ms-asf
asx,video/x-ms-asf
asr,video/x-ms-asf
asx,video/x-ms-asf-plugin
vob,video/x-ms-vob
wm,video/x-ms-wm
wmv,video/x-ms-wmv
wmx,video/x-ms-wmx
wvx,video/x-ms-wvx
avi,video/x-msvideo
qtc,video/x-qtc
scm,video/x-scm
movie,video/x-sgi-movie
mv,video/x-sgi-movie
smv,video/x-smv
wmf,windows/metafile
mime,www/mime
ice,x-conference/x-cooltalk
mid,x-music/x-midi
midi,x-music/x-midi
3dm,x-world/x-3dmf
3dmf,x-world/x-3dmf
qd3,x-world/x-3dmf
qd3d,x-world/x-3dmf
svr,x-world/x-svr
vrml,x-world/x-vrml
wrl,x-world/x-vrml
wrz,x-world/x-vrml
flr,x-world/x-vrml
xaf,x-world/x-vrml
xof,x-world/x-vrml
vrm,x-world/x-vrml
vrt,x-world/x-vrt
xgz,xgl/drawing
xmz,xgl/movie
ma nb mb,application/mathematica
doc dot,application/msword
bin dms lha lrf lzh so iso dmg dist distz pkg bpk dump elc deploy,application/octet-stream
onetoc onetoc2 onetmp onepkg,application/onenote
asc sig,application/pgp-signature
p7m p7c,application/pkcs7-mime
ai eps ps,application/postscript
smi smil,application/smil+xml
atc acutc,application/vnd.acucorp
c4g c4d c4f c4p c4u,application/vnd.clonk.c4group
es3 et3,application/vnd.eszigno3+xml
seed dataless,application/vnd.fdsn.seed
fm frame maker book,application/vnd.framemaker
gex gre,application/vnd.geometry-explorer
gqf gqs,application/vnd.grafeq
afp listafp list3820,application/vnd.ibm.modcap
icc icm,application/vnd.iccprofile
xpw xpx,application/vnd.intercon.formnet
ktz ktr,application/vnd.kahootz
kpr kpt,application/vnd.kde.kpresenter
kwd kwt,application/vnd.kde.kword
kne knp,application/vnd.kinar
skp skd skt skm,application/vnd.koan
xls xlm xla xlc xlt xlw,application/vnd.ms-excel
ppt pps pot,application/vnd.ms-powerpoint
mpp mpt,application/vnd.ms-project
wps wks wcm wdb,application/vnd.ms-works
pdb pqa oprc,application/vnd.palm
qxd qxt qwd qwt qxl qxb,application/vnd.quark.quarkxpress
twd twds,application/vnd.simtech-mindmapper
sdkm sdkd,application/vnd.solent.sdkm+xml
sus susp,application/vnd.sus-calendar
sis sisx,application/vnd.symbian.install
ufd ufdl,application/vnd.ufdl
vsd vst vss vsw,application/vnd.visio
zir zirz,application/vnd.zul
aab x32 u32 vox,application/x-authorware-bin
bz2 boz,application/x-bzip2
deb udeb,application/x-debian-package
dir dcr dxr cst cct cxt w3d fgd swa,application/x-director
ttf ttc,application/x-font-ttf
pfa pfb pfm afm,application/x-font-type1
prc mobi,application/x-mobipocket-ebook
exe dll com bat msi,application/x-msdownload
mvb m13 m14,application/x-msmediaview
nc cdf,application/x-netcdf
p12 pfx,application/x-pkcs12
p7b spc,application/x-pkcs7-certificates
texinfo texi,application/x-texinfo
der crt,application/x-x509-ca-cert
xhtml xht,application/xhtml+xml
xml xsl,application/xml
mxml xhvml xvml xvm,application/xv+xml
au snd,audio/basic
mid midi kar rmi,audio/midi
mpga mp2 mp2a mp3 m2a m3a,audio/mpeg
oga ogg spx,audio/ogg
aif aiff aifc,audio/x-aiff
ram ra,audio/x-pn-realaudio
jpeg jpg jpe,image/jpeg
svg svgz,image/svg+xml
tiff tif,image/tiff
djvu djv,image/vnd.djvu
fh fhc fh4 fh5 fh7,image/x-freehand
pic pct,image/x-pict
eml mime,message/rfc822
igs iges,model/iges
msh mesh silo,model/mesh
wrl vrml,model/vrml
ics ifb,text/calendar
html htm,text/html
txt text conf def list log in,text/plain
sgml sgm,text/sgml
t tr roff man me ms,text/troff
uri uris urls,text/uri-list
s asm,text/x-asm
c cc cxx cpp h hh dic,text/x-c
f for f77 f90,text/x-fortran
p pas,text/x-pascal
jpm jpgm,video/jpm
mj2 mjp2,video/mj2
mp4 mp4v mpg4,video/mp4
mpeg mpg mpe m1v m2v,video/mpeg
qt mov,video/quicktime
mxu m4u,video/vnd.mpegurl
asf asx,video/x-ms-asf