|
@@ -6,6 +6,167 @@ namespace TEAMModelOS.SDK.Context.Constant
|
|
|
{
|
|
|
public static class ContentTypeDict
|
|
|
{
|
|
|
+ public static readonly Dictionary<string, string> extdict = new Dictionary<string, string> {
|
|
|
+ {"video/3gpp",".3g2"},
|
|
|
+{"audio/mp4",".aac"},
|
|
|
+{"audio/ac3",".ac3"},
|
|
|
+{"text/x-adasrc",".adb"},
|
|
|
+{"image/x-applix-graphics",".ag"},
|
|
|
+{"audio/amr",".amr"},
|
|
|
+{"audio/x-ape",".ape"},
|
|
|
+{"image/x-sony-arw",".arw"},
|
|
|
+{"text/plain",".asc"},
|
|
|
+{"video/x-ms-asf",".asf"},
|
|
|
+{"text/x-ssa",".ass"},
|
|
|
+{"video/x-msvideo",".avi"},
|
|
|
+{"text/x-bibtex",".bib"},
|
|
|
+{"image/bmp",".bmp"},
|
|
|
+{"text/x-csrc",".c"},
|
|
|
+{"text/x-c++src",".c++"},
|
|
|
+{"image/cgm",".cgm"},
|
|
|
+{"text/x-tex",".cls"},
|
|
|
+{"text/x-cmake",".cmake"},
|
|
|
+{"image/x-canon-cr2",".cr2"},
|
|
|
+{"image/x-canon-crw",".crw"},
|
|
|
+{"text/x-csharp",".cs"},
|
|
|
+{"text/css",".css"},
|
|
|
+{"text/csv",".csv"},
|
|
|
+{"image/x-win-bitmap",".cur"},
|
|
|
+{"text/x-dsrc",".d"},
|
|
|
+{"text/x-dcl",".dcl"},
|
|
|
+{"image/x-kodak-dcr",".dcr"},
|
|
|
+{"image/x-dds",".dds"},
|
|
|
+{"text/x-patch",".diff"},
|
|
|
+{"image/vnd.djvu",".djv"},
|
|
|
+{"image/x-adobe-dng",".dng"},
|
|
|
+{"text/vnd.graphviz",".dot"},
|
|
|
+{"text/x-dsl",".dsl"},
|
|
|
+{"image/vnd.dwg",".dwg"},
|
|
|
+{"image/vnd.dxf",".dxf"},
|
|
|
+{"text/x-eiffel",".e"},
|
|
|
+{"text/x-emacs-lisp",".el"},
|
|
|
+{"image/x-emf",".emf"},
|
|
|
+{"image/x-eps",".eps"},
|
|
|
+{"image/x-bzeps",".eps.bz2"},
|
|
|
+{"image/x-gzeps",".eps.gz"},
|
|
|
+{"text/x-erlang",".erl"},
|
|
|
+{"text/x-setext",".etx"},
|
|
|
+{"image/x-exr",".exr"},
|
|
|
+{"text/x-fortran",".f"},
|
|
|
+{"image/x-xfig",".fig"},
|
|
|
+{"image/fits",".fits"},
|
|
|
+{"video/x-flv",".flv"},
|
|
|
+{"text/x-xslfo",".fo"},
|
|
|
+{"image/fax-g3",".g3"},
|
|
|
+{"text/directory",".gcrd"},
|
|
|
+{"image/gif",".gif"},
|
|
|
+{"text/x-google-video-pointer",".gvp"},
|
|
|
+{"text/x-chdr",".h"},
|
|
|
+{"text/x-c++hdr",".h++"},
|
|
|
+{"text/x-haskell",".hs"},
|
|
|
+{"text/html",".htm"},
|
|
|
+{"image/x-tga",".icb"},
|
|
|
+{"image/x-icns",".icns"},
|
|
|
+{"image/x-icon",".ico"},
|
|
|
+{"text/calendar",".ics"},
|
|
|
+{"text/x-idl",".idl"},
|
|
|
+{"image/ief",".ief"},
|
|
|
+{"image/x-iff",".iff"},
|
|
|
+{"image/x-ilbm",".ilbm"},
|
|
|
+{"text/x-imelody",".ime"},
|
|
|
+{"text/x-iptables",".iptables"},
|
|
|
+{"image/jp2",".j2k"},
|
|
|
+{"text/vnd.sun.j2me.app-descriptor",".jad"},
|
|
|
+{"text/x-java",".java"},
|
|
|
+{"image/x-jng",".jng"},
|
|
|
+{"image/jpeg",".jpe"},
|
|
|
+{"application/javascript",".js"},
|
|
|
+{"application/json",".json"},
|
|
|
+{"application/jsonp",".jsonp"},
|
|
|
+{"image/x-kodak-k25",".k25"},
|
|
|
+{"image/x-kodak-kdc",".kdc"},
|
|
|
+{"text/x-ldif",".ldif"},
|
|
|
+{"text/x-literate-haskell",".lhs"},
|
|
|
+{"text/x-log",".log"},
|
|
|
+{"text/x-lua",".lua"},
|
|
|
+{"image/x-lwo",".lwo"},
|
|
|
+{"image/x-lws",".lws"},
|
|
|
+{"text/x-lilypond",".ly"},
|
|
|
+{"text/x-matlab",".m"},
|
|
|
+{"video/mpeg",".m2t"},
|
|
|
+{"audio/x-mpegurl",".m3u"},
|
|
|
+{"application/vnd.apple.mpegurl",".m3u8"},
|
|
|
+{"text/x-troff-me",".me"},
|
|
|
+{"video/x-matroska",".mkv"},
|
|
|
+{"text/x-ocaml",".ml"},
|
|
|
+{"text/x-troff-mm",".mm"},
|
|
|
+{"text/mathml",".mml"},
|
|
|
+{"text/x-moc",".moc"},
|
|
|
+{"text/x-mof",".mof"},
|
|
|
+{"audio/mpeg",".mp3"},
|
|
|
+{"video/mp4",".mp4"},
|
|
|
+{"text/x-mrml",".mrl"},
|
|
|
+{"image/x-minolta-mrw",".mrw"},
|
|
|
+{"text/x-troff-ms",".ms"},
|
|
|
+{"image/x-msod",".msod"},
|
|
|
+{"text/x-mup",".mup"},
|
|
|
+{"image/x-nikon-nef",".nef"},
|
|
|
+{"text/x-nfo",".nfo"},
|
|
|
+{"text/x-ocl",".ocl"},
|
|
|
+{"text/x-opml+xml",".opml"},
|
|
|
+{"image/openraster",".ora"},
|
|
|
+{"image/x-olympus-orf",".orf"},
|
|
|
+{"text/x-pascal",".p"},
|
|
|
+{"image/x-portable-bitmap",".pbm"},
|
|
|
+{"image/x-photo-cd",".pcd"},
|
|
|
+{"image/x-pcx",".pcx"},
|
|
|
+{"application/pdf",".pdf"},
|
|
|
+{"image/x-pentax-pef",".pef"},
|
|
|
+{"image/x-portable-graymap",".pgm"},
|
|
|
+{"image/x-pict",".pict"},
|
|
|
+{"image/png",".png"},
|
|
|
+{"image/x-portable-anymap",".pnm"},
|
|
|
+{"image/x-macpaint",".pntg"},
|
|
|
+{"text/x-gettext-translation",".po"},
|
|
|
+{"text/x-gettext-translation-template",".pot"},
|
|
|
+{"text/x-python",".py"},
|
|
|
+{"image/x-quicktime",".qif"},
|
|
|
+{"image/x-fuji-raf",".raf"},
|
|
|
+{"image/x-cmu-raster",".ras"},
|
|
|
+{"image/x-panasonic-raw",".raw"},
|
|
|
+{"text/x-ms-regedit",".reg"},
|
|
|
+{"image/x-rgb",".rgb"},
|
|
|
+{"image/rle",".rle"},
|
|
|
+{"text/troff",".roff"},
|
|
|
+{"image/vnd.rn-realpix",".rp"},
|
|
|
+{"text/vnd.rn-realtext",".rt"},
|
|
|
+{"text/richtext",".rtx"},
|
|
|
+{"text/x-scheme",".scm"},
|
|
|
+{"image/x-sgi",".sgi"},
|
|
|
+{"text/sgml",".sgm"},
|
|
|
+{"image/x-skencil",".sk"},
|
|
|
+{"text/spreadsheet",".slk"},
|
|
|
+{"text/x-rpm-spec",".spec"},
|
|
|
+{"text/x-sql",".sql"},
|
|
|
+{"image/x-sony-sr2",".sr2"},
|
|
|
+{"image/x-sony-srf",".srf"},
|
|
|
+{"text/x-subviewer",".sub"},
|
|
|
+{"image/x-sun-raster",".sun"},
|
|
|
+{"image/svg+xml",".svg"},
|
|
|
+{"image/svg+xml-compressed",".svgz"},
|
|
|
+{"text/x-txt2tags",".t2t"},
|
|
|
+{"text/x-tcl",".tcl"},
|
|
|
+{"text/x-texinfo",".texi"},
|
|
|
+{"image/tiff",".tif"},
|
|
|
+{"audio/x-voc",".voc"},
|
|
|
+{"image/x-wmf",".wmf"},
|
|
|
+{"text/vnd.wap.wml",".wml"},
|
|
|
+{"text/vnd.wap.wmlscript",".wmls"},
|
|
|
+{"video/x-ms-wmv",".wmv"},
|
|
|
+{"application/xhtml+xml",".xhtml"},
|
|
|
+{"application/xml",".xml"}
|
|
|
+ };
|
|
|
+
|
|
|
public static readonly Dictionary<string, string> dict = new Dictionary<string, string> {
|
|
|
{".3g2", "video/3gpp"},
|
|
|
{".3ga", "video/3gpp"},
|