mime.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  1. // Copyright 2014 beego Author. All Rights Reserved.
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. package beego
  15. var mimemaps = map[string]string{
  16. ".3dm": "x-world/x-3dmf",
  17. ".3dmf": "x-world/x-3dmf",
  18. ".7z": "application/x-7z-compressed",
  19. ".a": "application/octet-stream",
  20. ".aab": "application/x-authorware-bin",
  21. ".aam": "application/x-authorware-map",
  22. ".aas": "application/x-authorware-seg",
  23. ".abc": "text/vndabc",
  24. ".ace": "application/x-ace-compressed",
  25. ".acgi": "text/html",
  26. ".afl": "video/animaflex",
  27. ".ai": "application/postscript",
  28. ".aif": "audio/aiff",
  29. ".aifc": "audio/aiff",
  30. ".aiff": "audio/aiff",
  31. ".aim": "application/x-aim",
  32. ".aip": "text/x-audiosoft-intra",
  33. ".alz": "application/x-alz-compressed",
  34. ".ani": "application/x-navi-animation",
  35. ".aos": "application/x-nokia-9000-communicator-add-on-software",
  36. ".aps": "application/mime",
  37. ".apk": "application/vnd.android.package-archive",
  38. ".arc": "application/x-arc-compressed",
  39. ".arj": "application/arj",
  40. ".art": "image/x-jg",
  41. ".asf": "video/x-ms-asf",
  42. ".asm": "text/x-asm",
  43. ".asp": "text/asp",
  44. ".asx": "application/x-mplayer2",
  45. ".au": "audio/basic",
  46. ".avi": "video/x-msvideo",
  47. ".avs": "video/avs-video",
  48. ".bcpio": "application/x-bcpio",
  49. ".bin": "application/mac-binary",
  50. ".bmp": "image/bmp",
  51. ".boo": "application/book",
  52. ".book": "application/book",
  53. ".boz": "application/x-bzip2",
  54. ".bsh": "application/x-bsh",
  55. ".bz2": "application/x-bzip2",
  56. ".bz": "application/x-bzip",
  57. ".c++": "text/plain",
  58. ".c": "text/x-c",
  59. ".cab": "application/vnd.ms-cab-compressed",
  60. ".cat": "application/vndms-pkiseccat",
  61. ".cc": "text/x-c",
  62. ".ccad": "application/clariscad",
  63. ".cco": "application/x-cocoa",
  64. ".cdf": "application/cdf",
  65. ".cer": "application/pkix-cert",
  66. ".cha": "application/x-chat",
  67. ".chat": "application/x-chat",
  68. ".chrt": "application/vnd.kde.kchart",
  69. ".class": "application/java",
  70. ".com": "text/plain",
  71. ".conf": "text/plain",
  72. ".cpio": "application/x-cpio",
  73. ".cpp": "text/x-c",
  74. ".cpt": "application/mac-compactpro",
  75. ".crl": "application/pkcs-crl",
  76. ".crt": "application/pkix-cert",
  77. ".crx": "application/x-chrome-extension",
  78. ".csh": "text/x-scriptcsh",
  79. ".css": "text/css",
  80. ".csv": "text/csv",
  81. ".cxx": "text/plain",
  82. ".dar": "application/x-dar",
  83. ".dcr": "application/x-director",
  84. ".deb": "application/x-debian-package",
  85. ".deepv": "application/x-deepv",
  86. ".def": "text/plain",
  87. ".der": "application/x-x509-ca-cert",
  88. ".dif": "video/x-dv",
  89. ".dir": "application/x-director",
  90. ".divx": "video/divx",
  91. ".dl": "video/dl",
  92. ".dmg": "application/x-apple-diskimage",
  93. ".doc": "application/msword",
  94. ".dot": "application/msword",
  95. ".dp": "application/commonground",
  96. ".drw": "application/drafting",
  97. ".dump": "application/octet-stream",
  98. ".dv": "video/x-dv",
  99. ".dvi": "application/x-dvi",
  100. ".dwf": "drawing/x-dwf=(old)",
  101. ".dwg": "application/acad",
  102. ".dxf": "application/dxf",
  103. ".dxr": "application/x-director",
  104. ".el": "text/x-scriptelisp",
  105. ".elc": "application/x-bytecodeelisp=(compiled=elisp)",
  106. ".eml": "message/rfc822",
  107. ".env": "application/x-envoy",
  108. ".eps": "application/postscript",
  109. ".es": "application/x-esrehber",
  110. ".etx": "text/x-setext",
  111. ".evy": "application/envoy",
  112. ".exe": "application/octet-stream",
  113. ".f77": "text/x-fortran",
  114. ".f90": "text/x-fortran",
  115. ".f": "text/x-fortran",
  116. ".fdf": "application/vndfdf",
  117. ".fif": "application/fractals",
  118. ".fli": "video/fli",
  119. ".flo": "image/florian",
  120. ".flv": "video/x-flv",
  121. ".flx": "text/vndfmiflexstor",
  122. ".fmf": "video/x-atomic3d-feature",
  123. ".for": "text/x-fortran",
  124. ".fpx": "image/vndfpx",
  125. ".frl": "application/freeloader",
  126. ".funk": "audio/make",
  127. ".g3": "image/g3fax",
  128. ".g": "text/plain",
  129. ".gif": "image/gif",
  130. ".gl": "video/gl",
  131. ".gsd": "audio/x-gsm",
  132. ".gsm": "audio/x-gsm",
  133. ".gsp": "application/x-gsp",
  134. ".gss": "application/x-gss",
  135. ".gtar": "application/x-gtar",
  136. ".gz": "application/x-compressed",
  137. ".gzip": "application/x-gzip",
  138. ".h": "text/x-h",
  139. ".hdf": "application/x-hdf",
  140. ".help": "application/x-helpfile",
  141. ".hgl": "application/vndhp-hpgl",
  142. ".hh": "text/x-h",
  143. ".hlb": "text/x-script",
  144. ".hlp": "application/hlp",
  145. ".hpg": "application/vndhp-hpgl",
  146. ".hpgl": "application/vndhp-hpgl",
  147. ".hqx": "application/binhex",
  148. ".hta": "application/hta",
  149. ".htc": "text/x-component",
  150. ".htm": "text/html",
  151. ".html": "text/html",
  152. ".htmls": "text/html",
  153. ".htt": "text/webviewhtml",
  154. ".htx": "text/html",
  155. ".ice": "x-conference/x-cooltalk",
  156. ".ico": "image/x-icon",
  157. ".ics": "text/calendar",
  158. ".icz": "text/calendar",
  159. ".idc": "text/plain",
  160. ".ief": "image/ief",
  161. ".iefs": "image/ief",
  162. ".iges": "application/iges",
  163. ".igs": "application/iges",
  164. ".ima": "application/x-ima",
  165. ".imap": "application/x-httpd-imap",
  166. ".inf": "application/inf",
  167. ".ins": "application/x-internett-signup",
  168. ".ip": "application/x-ip2",
  169. ".isu": "video/x-isvideo",
  170. ".it": "audio/it",
  171. ".iv": "application/x-inventor",
  172. ".ivr": "i-world/i-vrml",
  173. ".ivy": "application/x-livescreen",
  174. ".jam": "audio/x-jam",
  175. ".jav": "text/x-java-source",
  176. ".java": "text/x-java-source",
  177. ".jcm": "application/x-java-commerce",
  178. ".jfif-tbnl": "image/jpeg",
  179. ".jfif": "image/jpeg",
  180. ".jnlp": "application/x-java-jnlp-file",
  181. ".jpe": "image/jpeg",
  182. ".jpeg": "image/jpeg",
  183. ".jpg": "image/jpeg",
  184. ".jps": "image/x-jps",
  185. ".js": "application/javascript",
  186. ".json": "application/json",
  187. ".jut": "image/jutvision",
  188. ".kar": "audio/midi",
  189. ".karbon": "application/vnd.kde.karbon",
  190. ".kfo": "application/vnd.kde.kformula",
  191. ".flw": "application/vnd.kde.kivio",
  192. ".kml": "application/vnd.google-earth.kml+xml",
  193. ".kmz": "application/vnd.google-earth.kmz",
  194. ".kon": "application/vnd.kde.kontour",
  195. ".kpr": "application/vnd.kde.kpresenter",
  196. ".kpt": "application/vnd.kde.kpresenter",
  197. ".ksp": "application/vnd.kde.kspread",
  198. ".kwd": "application/vnd.kde.kword",
  199. ".kwt": "application/vnd.kde.kword",
  200. ".ksh": "text/x-scriptksh",
  201. ".la": "audio/nspaudio",
  202. ".lam": "audio/x-liveaudio",
  203. ".latex": "application/x-latex",
  204. ".lha": "application/lha",
  205. ".lhx": "application/octet-stream",
  206. ".list": "text/plain",
  207. ".lma": "audio/nspaudio",
  208. ".log": "text/plain",
  209. ".lsp": "text/x-scriptlisp",
  210. ".lst": "text/plain",
  211. ".lsx": "text/x-la-asf",
  212. ".ltx": "application/x-latex",
  213. ".lzh": "application/octet-stream",
  214. ".lzx": "application/lzx",
  215. ".m1v": "video/mpeg",
  216. ".m2a": "audio/mpeg",
  217. ".m2v": "video/mpeg",
  218. ".m3u": "audio/x-mpegurl",
  219. ".m": "text/x-m",
  220. ".man": "application/x-troff-man",
  221. ".manifest": "text/cache-manifest",
  222. ".map": "application/x-navimap",
  223. ".mar": "text/plain",
  224. ".mbd": "application/mbedlet",
  225. ".mc$": "application/x-magic-cap-package-10",
  226. ".mcd": "application/mcad",
  227. ".mcf": "text/mcf",
  228. ".mcp": "application/netmc",
  229. ".me": "application/x-troff-me",
  230. ".mht": "message/rfc822",
  231. ".mhtml": "message/rfc822",
  232. ".mid": "application/x-midi",
  233. ".midi": "application/x-midi",
  234. ".mif": "application/x-frame",
  235. ".mime": "message/rfc822",
  236. ".mjf": "audio/x-vndaudioexplosionmjuicemediafile",
  237. ".mjpg": "video/x-motion-jpeg",
  238. ".mm": "application/base64",
  239. ".mme": "application/base64",
  240. ".mod": "audio/mod",
  241. ".moov": "video/quicktime",
  242. ".mov": "video/quicktime",
  243. ".movie": "video/x-sgi-movie",
  244. ".mp2": "audio/mpeg",
  245. ".mp3": "audio/mpeg3",
  246. ".mp4": "video/mp4",
  247. ".mpa": "audio/mpeg",
  248. ".mpc": "application/x-project",
  249. ".mpe": "video/mpeg",
  250. ".mpeg": "video/mpeg",
  251. ".mpg": "video/mpeg",
  252. ".mpga": "audio/mpeg",
  253. ".mpp": "application/vndms-project",
  254. ".mpt": "application/x-project",
  255. ".mpv": "application/x-project",
  256. ".mpx": "application/x-project",
  257. ".mrc": "application/marc",
  258. ".ms": "application/x-troff-ms",
  259. ".mv": "video/x-sgi-movie",
  260. ".my": "audio/make",
  261. ".mzz": "application/x-vndaudioexplosionmzz",
  262. ".nap": "image/naplps",
  263. ".naplps": "image/naplps",
  264. ".nc": "application/x-netcdf",
  265. ".ncm": "application/vndnokiaconfiguration-message",
  266. ".nif": "image/x-niff",
  267. ".niff": "image/x-niff",
  268. ".nix": "application/x-mix-transfer",
  269. ".nsc": "application/x-conference",
  270. ".nvd": "application/x-navidoc",
  271. ".o": "application/octet-stream",
  272. ".oda": "application/oda",
  273. ".odb": "application/vnd.oasis.opendocument.database",
  274. ".odc": "application/vnd.oasis.opendocument.chart",
  275. ".odf": "application/vnd.oasis.opendocument.formula",
  276. ".odg": "application/vnd.oasis.opendocument.graphics",
  277. ".odi": "application/vnd.oasis.opendocument.image",
  278. ".odm": "application/vnd.oasis.opendocument.text-master",
  279. ".odp": "application/vnd.oasis.opendocument.presentation",
  280. ".ods": "application/vnd.oasis.opendocument.spreadsheet",
  281. ".odt": "application/vnd.oasis.opendocument.text",
  282. ".oga": "audio/ogg",
  283. ".ogg": "audio/ogg",
  284. ".ogv": "video/ogg",
  285. ".omc": "application/x-omc",
  286. ".omcd": "application/x-omcdatamaker",
  287. ".omcr": "application/x-omcregerator",
  288. ".otc": "application/vnd.oasis.opendocument.chart-template",
  289. ".otf": "application/vnd.oasis.opendocument.formula-template",
  290. ".otg": "application/vnd.oasis.opendocument.graphics-template",
  291. ".oth": "application/vnd.oasis.opendocument.text-web",
  292. ".oti": "application/vnd.oasis.opendocument.image-template",
  293. ".otm": "application/vnd.oasis.opendocument.text-master",
  294. ".otp": "application/vnd.oasis.opendocument.presentation-template",
  295. ".ots": "application/vnd.oasis.opendocument.spreadsheet-template",
  296. ".ott": "application/vnd.oasis.opendocument.text-template",
  297. ".p10": "application/pkcs10",
  298. ".p12": "application/pkcs-12",
  299. ".p7a": "application/x-pkcs7-signature",
  300. ".p7c": "application/pkcs7-mime",
  301. ".p7m": "application/pkcs7-mime",
  302. ".p7r": "application/x-pkcs7-certreqresp",
  303. ".p7s": "application/pkcs7-signature",
  304. ".p": "text/x-pascal",
  305. ".part": "application/pro_eng",
  306. ".pas": "text/pascal",
  307. ".pbm": "image/x-portable-bitmap",
  308. ".pcl": "application/vndhp-pcl",
  309. ".pct": "image/x-pict",
  310. ".pcx": "image/x-pcx",
  311. ".pdb": "chemical/x-pdb",
  312. ".pdf": "application/pdf",
  313. ".pfunk": "audio/make",
  314. ".pgm": "image/x-portable-graymap",
  315. ".pic": "image/pict",
  316. ".pict": "image/pict",
  317. ".pkg": "application/x-newton-compatible-pkg",
  318. ".pko": "application/vndms-pkipko",
  319. ".pl": "text/x-scriptperl",
  320. ".plx": "application/x-pixclscript",
  321. ".pm4": "application/x-pagemaker",
  322. ".pm5": "application/x-pagemaker",
  323. ".pm": "text/x-scriptperl-module",
  324. ".png": "image/png",
  325. ".pnm": "application/x-portable-anymap",
  326. ".pot": "application/mspowerpoint",
  327. ".pov": "model/x-pov",
  328. ".ppa": "application/vndms-powerpoint",
  329. ".ppm": "image/x-portable-pixmap",
  330. ".pps": "application/mspowerpoint",
  331. ".ppt": "application/mspowerpoint",
  332. ".ppz": "application/mspowerpoint",
  333. ".pre": "application/x-freelance",
  334. ".prt": "application/pro_eng",
  335. ".ps": "application/postscript",
  336. ".psd": "application/octet-stream",
  337. ".pvu": "paleovu/x-pv",
  338. ".pwz": "application/vndms-powerpoint",
  339. ".py": "text/x-scriptphyton",
  340. ".pyc": "application/x-bytecodepython",
  341. ".qcp": "audio/vndqcelp",
  342. ".qd3": "x-world/x-3dmf",
  343. ".qd3d": "x-world/x-3dmf",
  344. ".qif": "image/x-quicktime",
  345. ".qt": "video/quicktime",
  346. ".qtc": "video/x-qtc",
  347. ".qti": "image/x-quicktime",
  348. ".qtif": "image/x-quicktime",
  349. ".ra": "audio/x-pn-realaudio",
  350. ".ram": "audio/x-pn-realaudio",
  351. ".rar": "application/x-rar-compressed",
  352. ".ras": "application/x-cmu-raster",
  353. ".rast": "image/cmu-raster",
  354. ".rexx": "text/x-scriptrexx",
  355. ".rf": "image/vndrn-realflash",
  356. ".rgb": "image/x-rgb",
  357. ".rm": "application/vndrn-realmedia",
  358. ".rmi": "audio/mid",
  359. ".rmm": "audio/x-pn-realaudio",
  360. ".rmp": "audio/x-pn-realaudio",
  361. ".rng": "application/ringing-tones",
  362. ".rnx": "application/vndrn-realplayer",
  363. ".roff": "application/x-troff",
  364. ".rp": "image/vndrn-realpix",
  365. ".rpm": "audio/x-pn-realaudio-plugin",
  366. ".rt": "text/vndrn-realtext",
  367. ".rtf": "text/richtext",
  368. ".rtx": "text/richtext",
  369. ".rv": "video/vndrn-realvideo",
  370. ".s": "text/x-asm",
  371. ".s3m": "audio/s3m",
  372. ".s7z": "application/x-7z-compressed",
  373. ".saveme": "application/octet-stream",
  374. ".sbk": "application/x-tbook",
  375. ".scm": "text/x-scriptscheme",
  376. ".sdml": "text/plain",
  377. ".sdp": "application/sdp",
  378. ".sdr": "application/sounder",
  379. ".sea": "application/sea",
  380. ".set": "application/set",
  381. ".sgm": "text/x-sgml",
  382. ".sgml": "text/x-sgml",
  383. ".sh": "text/x-scriptsh",
  384. ".shar": "application/x-bsh",
  385. ".shtml": "text/x-server-parsed-html",
  386. ".sid": "audio/x-psid",
  387. ".skd": "application/x-koan",
  388. ".skm": "application/x-koan",
  389. ".skp": "application/x-koan",
  390. ".skt": "application/x-koan",
  391. ".sit": "application/x-stuffit",
  392. ".sitx": "application/x-stuffitx",
  393. ".sl": "application/x-seelogo",
  394. ".smi": "application/smil",
  395. ".smil": "application/smil",
  396. ".snd": "audio/basic",
  397. ".sol": "application/solids",
  398. ".spc": "text/x-speech",
  399. ".spl": "application/futuresplash",
  400. ".spr": "application/x-sprite",
  401. ".sprite": "application/x-sprite",
  402. ".spx": "audio/ogg",
  403. ".src": "application/x-wais-source",
  404. ".ssi": "text/x-server-parsed-html",
  405. ".ssm": "application/streamingmedia",
  406. ".sst": "application/vndms-pkicertstore",
  407. ".step": "application/step",
  408. ".stl": "application/sla",
  409. ".stp": "application/step",
  410. ".sv4cpio": "application/x-sv4cpio",
  411. ".sv4crc": "application/x-sv4crc",
  412. ".svf": "image/vnddwg",
  413. ".svg": "image/svg+xml",
  414. ".svr": "application/x-world",
  415. ".swf": "application/x-shockwave-flash",
  416. ".t": "application/x-troff",
  417. ".talk": "text/x-speech",
  418. ".tar": "application/x-tar",
  419. ".tbk": "application/toolbook",
  420. ".tcl": "text/x-scripttcl",
  421. ".tcsh": "text/x-scripttcsh",
  422. ".tex": "application/x-tex",
  423. ".texi": "application/x-texinfo",
  424. ".texinfo": "application/x-texinfo",
  425. ".text": "text/plain",
  426. ".tgz": "application/gnutar",
  427. ".tif": "image/tiff",
  428. ".tiff": "image/tiff",
  429. ".tr": "application/x-troff",
  430. ".tsi": "audio/tsp-audio",
  431. ".tsp": "application/dsptype",
  432. ".tsv": "text/tab-separated-values",
  433. ".turbot": "image/florian",
  434. ".txt": "text/plain",
  435. ".uil": "text/x-uil",
  436. ".uni": "text/uri-list",
  437. ".unis": "text/uri-list",
  438. ".unv": "application/i-deas",
  439. ".uri": "text/uri-list",
  440. ".uris": "text/uri-list",
  441. ".ustar": "application/x-ustar",
  442. ".uu": "text/x-uuencode",
  443. ".uue": "text/x-uuencode",
  444. ".vcd": "application/x-cdlink",
  445. ".vcf": "text/x-vcard",
  446. ".vcard": "text/x-vcard",
  447. ".vcs": "text/x-vcalendar",
  448. ".vda": "application/vda",
  449. ".vdo": "video/vdo",
  450. ".vew": "application/groupwise",
  451. ".viv": "video/vivo",
  452. ".vivo": "video/vivo",
  453. ".vmd": "application/vocaltec-media-desc",
  454. ".vmf": "application/vocaltec-media-file",
  455. ".voc": "audio/voc",
  456. ".vos": "video/vosaic",
  457. ".vox": "audio/voxware",
  458. ".vqe": "audio/x-twinvq-plugin",
  459. ".vqf": "audio/x-twinvq",
  460. ".vql": "audio/x-twinvq-plugin",
  461. ".vrml": "application/x-vrml",
  462. ".vrt": "x-world/x-vrt",
  463. ".vsd": "application/x-visio",
  464. ".vst": "application/x-visio",
  465. ".vsw": "application/x-visio",
  466. ".w60": "application/wordperfect60",
  467. ".w61": "application/wordperfect61",
  468. ".w6w": "application/msword",
  469. ".wav": "audio/wav",
  470. ".wb1": "application/x-qpro",
  471. ".wbmp": "image/vnd.wap.wbmp",
  472. ".web": "application/vndxara",
  473. ".wiz": "application/msword",
  474. ".wk1": "application/x-123",
  475. ".wmf": "windows/metafile",
  476. ".wml": "text/vnd.wap.wml",
  477. ".wmlc": "application/vnd.wap.wmlc",
  478. ".wmls": "text/vnd.wap.wmlscript",
  479. ".wmlsc": "application/vnd.wap.wmlscriptc",
  480. ".word": "application/msword",
  481. ".wp5": "application/wordperfect",
  482. ".wp6": "application/wordperfect",
  483. ".wp": "application/wordperfect",
  484. ".wpd": "application/wordperfect",
  485. ".wq1": "application/x-lotus",
  486. ".wri": "application/mswrite",
  487. ".wrl": "application/x-world",
  488. ".wrz": "model/vrml",
  489. ".wsc": "text/scriplet",
  490. ".wsrc": "application/x-wais-source",
  491. ".wtk": "application/x-wintalk",
  492. ".x-png": "image/png",
  493. ".xbm": "image/x-xbitmap",
  494. ".xdr": "video/x-amt-demorun",
  495. ".xgz": "xgl/drawing",
  496. ".xif": "image/vndxiff",
  497. ".xl": "application/excel",
  498. ".xla": "application/excel",
  499. ".xlb": "application/excel",
  500. ".xlc": "application/excel",
  501. ".xld": "application/excel",
  502. ".xlk": "application/excel",
  503. ".xll": "application/excel",
  504. ".xlm": "application/excel",
  505. ".xls": "application/excel",
  506. ".xlt": "application/excel",
  507. ".xlv": "application/excel",
  508. ".xlw": "application/excel",
  509. ".xm": "audio/xm",
  510. ".xml": "text/xml",
  511. ".xmz": "xgl/movie",
  512. ".xpix": "application/x-vndls-xpix",
  513. ".xpm": "image/x-xpixmap",
  514. ".xsr": "video/x-amt-showrun",
  515. ".xwd": "image/x-xwd",
  516. ".xyz": "chemical/x-pdb",
  517. ".z": "application/x-compress",
  518. ".zip": "application/zip",
  519. ".zoo": "application/octet-stream",
  520. ".zsh": "text/x-scriptzsh",
  521. ".docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
  522. ".docm": "application/vnd.ms-word.document.macroEnabled.12",
  523. ".dotx": "application/vnd.openxmlformats-officedocument.wordprocessingml.template",
  524. ".dotm": "application/vnd.ms-word.template.macroEnabled.12",
  525. ".xlsx": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
  526. ".xlsm": "application/vnd.ms-excel.sheet.macroEnabled.12",
  527. ".xltx": "application/vnd.openxmlformats-officedocument.spreadsheetml.template",
  528. ".xltm": "application/vnd.ms-excel.template.macroEnabled.12",
  529. ".xlsb": "application/vnd.ms-excel.sheet.binary.macroEnabled.12",
  530. ".xlam": "application/vnd.ms-excel.addin.macroEnabled.12",
  531. ".pptx": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
  532. ".pptm": "application/vnd.ms-powerpoint.presentation.macroEnabled.12",
  533. ".ppsx": "application/vnd.openxmlformats-officedocument.presentationml.slideshow",
  534. ".ppsm": "application/vnd.ms-powerpoint.slideshow.macroEnabled.12",
  535. ".potx": "application/vnd.openxmlformats-officedocument.presentationml.template",
  536. ".potm": "application/vnd.ms-powerpoint.template.macroEnabled.12",
  537. ".ppam": "application/vnd.ms-powerpoint.addin.macroEnabled.12",
  538. ".sldx": "application/vnd.openxmlformats-officedocument.presentationml.slide",
  539. ".sldm": "application/vnd.ms-powerpoint.slide.macroEnabled.12",
  540. ".thmx": "application/vnd.ms-officetheme",
  541. ".onetoc": "application/onenote",
  542. ".onetoc2": "application/onenote",
  543. ".onetmp": "application/onenote",
  544. ".onepkg": "application/onenote",
  545. ".key": "application/x-iwork-keynote-sffkey",
  546. ".kth": "application/x-iwork-keynote-sffkth",
  547. ".nmbtemplate": "application/x-iwork-numbers-sfftemplate",
  548. ".numbers": "application/x-iwork-numbers-sffnumbers",
  549. ".pages": "application/x-iwork-pages-sffpages",
  550. ".template": "application/x-iwork-pages-sfftemplate",
  551. ".xpi": "application/x-xpinstall",
  552. ".oex": "application/x-opera-extension",
  553. ".mustache": "text/html",
  554. }