using System.Collections.Generic; using System.Collections.ObjectModel; namespace Masuit.Tools.AspNetCore.Mime { internal static class DefaultMimeItems { public static ReadOnlyCollection Items = new List { new MimeMappingItem{Extension = "abs", MimeType = "audio/x-mpeg"}, new MimeMappingItem{Extension = "ai", MimeType = "application/postscript"}, new MimeMappingItem{Extension = "aif", MimeType = "audio/x-aiff"}, new MimeMappingItem{Extension = "aifc", MimeType = "audio/x-aiff"}, new MimeMappingItem{Extension = "aiff", MimeType = "audio/x-aiff"}, new MimeMappingItem{Extension = "aim", MimeType = "application/x-aim"}, new MimeMappingItem{Extension = "art", MimeType = "image/x-jg"}, new MimeMappingItem{Extension = "asf", MimeType = "video/x-ms-asf"}, new MimeMappingItem{Extension = "asx", MimeType = "video/x-ms-asf"}, new MimeMappingItem{Extension = "au", MimeType = "audio/basic"}, new MimeMappingItem{Extension = "avi", MimeType = "video/x-msvideo"}, new MimeMappingItem{Extension = "avx", MimeType = "video/x-rad-screenplay"}, new MimeMappingItem{Extension = "bcpio", MimeType = "application/x-bcpio"}, new MimeMappingItem{Extension = "bin", MimeType = "application/octet-stream"}, new MimeMappingItem{Extension = "bmp", MimeType = "image/bmp"}, new MimeMappingItem{Extension = "body", MimeType = "text/html"}, new MimeMappingItem{Extension = "cdf", MimeType = "application/x-cdf"}, new MimeMappingItem{Extension = "cer", MimeType = "application/x-x509-ca-cert"}, new MimeMappingItem{Extension = "class", MimeType = "application/java"}, new MimeMappingItem{Extension = "cpio", MimeType = "application/x-cpio"}, new MimeMappingItem{Extension = "csh", MimeType = "application/x-csh"}, new MimeMappingItem{Extension = "css", MimeType = "text/css"}, new MimeMappingItem{Extension = "dib", MimeType = "image/bmp"}, new MimeMappingItem{Extension = "doc", MimeType = "application/msword"}, new MimeMappingItem{Extension = "dtd", MimeType = "application/xml-dtd"}, new MimeMappingItem{Extension = "dv", MimeType = "video/x-dv"}, new MimeMappingItem{Extension = "dvi", MimeType = "application/x-dvi"}, new MimeMappingItem{Extension = "eps", MimeType = "application/postscript"}, new MimeMappingItem{Extension = "etx", MimeType = "text/x-setext"}, new MimeMappingItem{Extension = "exe", MimeType = "application/octet-stream"}, new MimeMappingItem{Extension = "gif", MimeType = "image/gif"}, new MimeMappingItem{Extension = "gtar", MimeType = "application/x-gtar"}, new MimeMappingItem{Extension = "gz", MimeType = "application/x-gzip"}, new MimeMappingItem{Extension = "ogv", MimeType = "video/ogg"}, new MimeMappingItem{Extension = "oga", MimeType = "audio/ogg"}, new MimeMappingItem{Extension = "ogg", MimeType = "audio/ogg"}, new MimeMappingItem{Extension = "hdf", MimeType = "application/x-hdf"}, new MimeMappingItem{Extension = "htc", MimeType = "text/x-component"}, new MimeMappingItem{Extension = "htm", MimeType = "text/html"}, new MimeMappingItem{Extension = "html", MimeType = "text/html"}, new MimeMappingItem{Extension = "hqx", MimeType = "application/mac-binhex40"}, new MimeMappingItem{Extension = "ief", MimeType = "image/ief"}, new MimeMappingItem{Extension = "jad", MimeType = "text/vnd.sun.j2me.app-descriptor"}, new MimeMappingItem{Extension = "jar", MimeType = "application/java-archive"}, new MimeMappingItem{Extension = "java", MimeType = "text/plain"}, new MimeMappingItem{Extension = "jnlp", MimeType = "application/x-java-jnlp-file"}, new MimeMappingItem{Extension = "jpe", MimeType = "image/jpeg"}, new MimeMappingItem{Extension = "jpeg", MimeType = "image/jpeg"}, new MimeMappingItem{Extension = "jpg", MimeType = "image/jpeg"}, new MimeMappingItem{Extension = "js", MimeType = "text/javascript"}, new MimeMappingItem{Extension = "jsf", MimeType = "text/plain"}, new MimeMappingItem{Extension = "jspf", MimeType = "text/plain"}, new MimeMappingItem{Extension = "kar", MimeType = "audio/x-midi"}, new MimeMappingItem{Extension = "latex", MimeType = "application/x-latex"}, new MimeMappingItem{Extension = "m3u", MimeType = "audio/x-mpegurl"}, new MimeMappingItem{Extension = "mac", MimeType = "image/x-macpaint"}, new MimeMappingItem{Extension = "man", MimeType = "application/x-troff-man"}, new MimeMappingItem{Extension = "mathml", MimeType = "application/mathml+xml"}, new MimeMappingItem{Extension = "me", MimeType = "application/x-troff-me"}, new MimeMappingItem{Extension = "mid", MimeType = "audio/x-midi"}, new MimeMappingItem{Extension = "midi", MimeType = "audio/x-midi"}, new MimeMappingItem{Extension = "mif", MimeType = "application/x-mif"}, new MimeMappingItem{Extension = "mov", MimeType = "video/quicktime"}, new MimeMappingItem{Extension = "movie", MimeType = "video/x-sgi-movie"}, new MimeMappingItem{Extension = "mp1", MimeType = "audio/x-mpeg"}, new MimeMappingItem{Extension = "mp2", MimeType = "audio/x-mpeg"}, new MimeMappingItem{Extension = "mp3", MimeType = "audio/x-mpeg"}, new MimeMappingItem{Extension = "mp4", MimeType = "video/mp4"}, new MimeMappingItem{Extension = "mpa", MimeType = "audio/x-mpeg"}, new MimeMappingItem{Extension = "mpe", MimeType = "video/mpeg"}, new MimeMappingItem{Extension = "mpeg", MimeType = "video/mpeg"}, new MimeMappingItem{Extension = "mpega", MimeType = "audio/x-mpeg"}, new MimeMappingItem{Extension = "mpg", MimeType = "video/mpeg"}, new MimeMappingItem{Extension = "mpv2", MimeType = "video/mpeg2"}, new MimeMappingItem{Extension = "ms", MimeType = "application/x-wais-source"}, new MimeMappingItem{Extension = "nc", MimeType = "application/x-netcdf"}, new MimeMappingItem{Extension = "oda", MimeType = "application/oda"}, // new MimeMappingItem{Extension = "odb", MimeType = "application/vnd.oasis.opendocument.database"}, // new MimeMappingItem{Extension = "odc", MimeType = "application/vnd.oasis.opendocument.chart"}, // new MimeMappingItem{Extension = "odf", MimeType = "application/vnd.oasis.opendocument.formula"}, // new MimeMappingItem{Extension = "odg", MimeType = "application/vnd.oasis.opendocument.graphics"}, // new MimeMappingItem{Extension = "odi", MimeType = "application/vnd.oasis.opendocument.image"}, // new MimeMappingItem{Extension = "odm", MimeType = "application/vnd.oasis.opendocument.text-master"}, // new MimeMappingItem{Extension = "odp", MimeType = "application/vnd.oasis.opendocument.presentation"}, // new MimeMappingItem{Extension = "ods", MimeType = "application/vnd.oasis.opendocument.spreadsheet"}, // new MimeMappingItem{Extension = "odt", MimeType = "application/vnd.oasis.opendocument.text"}, // new MimeMappingItem{Extension = "otg ", MimeType = "application/vnd.oasis.opendocument.graphics-template"}, // new MimeMappingItem{Extension = "oth", MimeType = "application/vnd.oasis.opendocument.text-web"}, // new MimeMappingItem{Extension = "otp", MimeType = "application/vnd.oasis.opendocument.presentation-template"}, // new MimeMappingItem{Extension = "ots", MimeType = "application/vnd.oasis.opendocument.spreadsheet-template "}, // new MimeMappingItem{Extension = "ott", MimeType = "application/vnd.oasis.opendocument.text-template"}, new MimeMappingItem{Extension = "pbm", MimeType = "image/x-portable-bitmap"}, new MimeMappingItem{Extension = "pct", MimeType = "image/pict"}, new MimeMappingItem{Extension = "pdf", MimeType = "application/pdf"}, new MimeMappingItem{Extension = "pgm", MimeType = "image/x-portable-graymap"}, new MimeMappingItem{Extension = "pic", MimeType = "image/pict"}, new MimeMappingItem{Extension = "pict", MimeType = "image/pict"}, new MimeMappingItem{Extension = "pls", MimeType = "audio/x-scpls"}, new MimeMappingItem{Extension = "png", MimeType = "image/png"}, new MimeMappingItem{Extension = "pnm", MimeType = "image/x-portable-anymap"}, new MimeMappingItem{Extension = "pnt", MimeType = "image/x-macpaint"}, new MimeMappingItem{Extension = "ppm", MimeType = "image/x-portable-pixmap"}, new MimeMappingItem{Extension = "ppt", MimeType = "application/vnd.ms-powerpoint"}, new MimeMappingItem{Extension = "pps", MimeType = "application/vnd.ms-powerpoint"}, new MimeMappingItem{Extension = "ps", MimeType = "application/postscript"}, new MimeMappingItem{Extension = "psd", MimeType = "image/x-photoshop"}, new MimeMappingItem{Extension = "qt", MimeType = "video/quicktime"}, new MimeMappingItem{Extension = "qti", MimeType = "image/x-quicktime"}, new MimeMappingItem{Extension = "qtif", MimeType = "image/x-quicktime"}, new MimeMappingItem{Extension = "ras", MimeType = "image/x-cmu-raster"}, new MimeMappingItem{Extension = "rdf", MimeType = "application/rdf+xml"}, new MimeMappingItem{Extension = "rgb", MimeType = "image/x-rgb"}, new MimeMappingItem{Extension = "rm", MimeType = "application/vnd.rn-realmedia"}, new MimeMappingItem{Extension = "roff", MimeType = "application/x-troff"}, new MimeMappingItem{Extension = "rtf", MimeType = "application/rtf"}, new MimeMappingItem{Extension = "rtx", MimeType = "text/richtext"}, new MimeMappingItem{Extension = "sh", MimeType = "application/x-sh"}, new MimeMappingItem{Extension = "shar", MimeType = "application/x-shar"}, new MimeMappingItem{Extension = "smf", MimeType = "audio/x-midi"}, new MimeMappingItem{Extension = "sit", MimeType = "application/x-stuffit"}, new MimeMappingItem{Extension = "snd", MimeType = "audio/basic"}, new MimeMappingItem{Extension = "src", MimeType = "application/x-wais-source"}, new MimeMappingItem{Extension = "sv4cpio", MimeType = "application/x-sv4cpio"}, new MimeMappingItem{Extension = "sv4crc", MimeType = "application/x-sv4crc"}, new MimeMappingItem{Extension = "svg", MimeType = "image/svg+xml"}, new MimeMappingItem{Extension = "svgz", MimeType = "image/svg+xml"}, new MimeMappingItem{Extension = "swf", MimeType = "application/x-shockwave-flash"}, new MimeMappingItem{Extension = "t", MimeType = "application/x-troff"}, new MimeMappingItem{Extension = "tar", MimeType = "application/x-tar"}, new MimeMappingItem{Extension = "tcl", MimeType = "application/x-tcl"}, new MimeMappingItem{Extension = "tex", MimeType = "application/x-tex"}, new MimeMappingItem{Extension = "texi", MimeType = "application/x-texinfo"}, new MimeMappingItem{Extension = "texinfo", MimeType = "application/x-texinfo"}, new MimeMappingItem{Extension = "tif", MimeType = "image/tiff"}, new MimeMappingItem{Extension = "tiff", MimeType = "image/tiff"}, new MimeMappingItem{Extension = "tr", MimeType = "application/x-troff"}, new MimeMappingItem{Extension = "tsv", MimeType = "text/tab-separated-values"}, new MimeMappingItem{Extension = "txt", MimeType = "text/plain"}, new MimeMappingItem{Extension = "ulw", MimeType = "audio/basic"}, new MimeMappingItem{Extension = "ustar", MimeType = "application/x-ustar"}, new MimeMappingItem{Extension = "vxml", MimeType = "application/voicexml+xml"}, new MimeMappingItem{Extension = "xbm", MimeType = "image/x-xbitmap"}, new MimeMappingItem{Extension = "xht", MimeType = "application/xhtml+xml"}, new MimeMappingItem{Extension = "xhtml", MimeType = "application/xhtml+xml"}, new MimeMappingItem{Extension = "xls", MimeType = "application/vnd.ms-excel"}, new MimeMappingItem{Extension = "xml", MimeType = "application/xml"}, new MimeMappingItem{Extension = "xpm", MimeType = "image/x-xpixmap"}, new MimeMappingItem{Extension = "xsl", MimeType = "application/xml"}, new MimeMappingItem{Extension = "xslt", MimeType = "application/xslt+xml"}, new MimeMappingItem{Extension = "xul", MimeType = "application/vnd.mozilla.xul+xml"}, new MimeMappingItem{Extension = "xwd", MimeType = "image/x-xwindowdump"}, new MimeMappingItem{Extension = "vsd", MimeType = "application/x-visio"}, new MimeMappingItem{Extension = "wav", MimeType = "audio/x-wav"}, // new MimeMappingItem{Extension = "wbmp", MimeType = "image/vnd.wap.wbmp"}, // new MimeMappingItem{Extension = "wml", MimeType = "text/vnd.wap.wml"}, // new MimeMappingItem{Extension = "wmlc", MimeType = "application/vnd.wap.wmlc"}, // new MimeMappingItem{Extension = "wmls", MimeType = "text/vnd.wap.wmlscript"}, // new MimeMappingItem{Extension = "wmlscriptc", MimeType = "application/vnd.wap.wmlscriptc"}, new MimeMappingItem{Extension = "wmv", MimeType = "video/x-ms-wmv"}, new MimeMappingItem{Extension = "wrl", MimeType = "x-world/x-vrml"}, new MimeMappingItem{Extension = "wspolicy", MimeType = "application/wspolicy+xml"}, new MimeMappingItem{Extension = "Z", MimeType = "application/x-compress"}, new MimeMappingItem{Extension = "z", MimeType = "application/x-compress"}, new MimeMappingItem{Extension = "zip", MimeType = "application/zip"}, }.AsReadOnly(); } }