| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
exit; // Exit if accessed directly! |
| 4 |
} |
| 5 |
|
| 6 |
if ( ! class_exists( 'WPSC_MIME_TYPES' ) ) : |
| 7 |
|
| 8 |
final class WPSC_MIME_TYPES { |
| 9 |
|
| 10 |
/** |
| 11 |
* Get mime type of an extension |
| 12 |
* |
| 13 |
* @param string $extension - extension name. |
| 14 |
* @return string |
| 15 |
*/ |
| 16 |
public static function get_mime_type( $extension ) { |
| 17 |
|
| 18 |
$mime = ''; |
| 19 |
$mime_types_map = array( |
| 20 |
'123' => 'application/vnd.lotus-1-2-3', |
| 21 |
'3dml' => 'text/vnd.in3d.3dml', |
| 22 |
'3ds' => 'image/x-3ds', |
| 23 |
'3g2' => 'video/3gpp2', |
| 24 |
'3gp' => 'video/3gpp', |
| 25 |
'7z' => 'application/x-7z-compressed', |
| 26 |
'aab' => 'application/x-authorware-bin', |
| 27 |
'aac' => 'audio/x-aac', |
| 28 |
'aam' => 'application/x-authorware-map', |
| 29 |
'aas' => 'application/x-authorware-seg', |
| 30 |
'abw' => 'application/x-abiword', |
| 31 |
'ac' => 'application/pkix-attr-cert', |
| 32 |
'acc' => 'application/vnd.americandynamics.acc', |
| 33 |
'ace' => 'application/x-ace-compressed', |
| 34 |
'acu' => 'application/vnd.acucobol', |
| 35 |
'acutc' => 'application/vnd.acucorp', |
| 36 |
'adp' => 'audio/adpcm', |
| 37 |
'aep' => 'application/vnd.audiograph', |
| 38 |
'afm' => 'application/x-font-type1', |
| 39 |
'afp' => 'application/vnd.ibm.modcap', |
| 40 |
'ahead' => 'application/vnd.ahead.space', |
| 41 |
'ai' => 'application/postscript', |
| 42 |
'aif' => 'audio/x-aiff', |
| 43 |
'aifc' => 'audio/x-aiff', |
| 44 |
'aiff' => 'audio/x-aiff', |
| 45 |
'air' => 'application/vnd.adobe.air-application-installer-package+zip', |
| 46 |
'ait' => 'application/vnd.dvb.ait', |
| 47 |
'ami' => 'application/vnd.amiga.ami', |
| 48 |
'apk' => 'application/vnd.android.package-archive', |
| 49 |
'appcache' => 'text/cache-manifest', |
| 50 |
'application' => 'application/x-ms-application', |
| 51 |
'apr' => 'application/vnd.lotus-approach', |
| 52 |
'arc' => 'application/x-freearc', |
| 53 |
'asc' => 'application/pgp-signature', |
| 54 |
'asf' => 'video/x-ms-asf', |
| 55 |
'asm' => 'text/x-asm', |
| 56 |
'aso' => 'application/vnd.accpac.simply.aso', |
| 57 |
'asx' => 'video/x-ms-asf', |
| 58 |
'atc' => 'application/vnd.acucorp', |
| 59 |
'atom' => 'application/atom+xml', |
| 60 |
'atomcat' => 'application/atomcat+xml', |
| 61 |
'atomsvc' => 'application/atomsvc+xml', |
| 62 |
'atx' => 'application/vnd.antix.game-component', |
| 63 |
'au' => 'audio/basic', |
| 64 |
'avi' => 'video/x-msvideo', |
| 65 |
'aw' => 'application/applixware', |
| 66 |
'azf' => 'application/vnd.airzip.filesecure.azf', |
| 67 |
'azs' => 'application/vnd.airzip.filesecure.azs', |
| 68 |
'azw' => 'application/vnd.amazon.ebook', |
| 69 |
'bat' => 'application/x-msdownload', |
| 70 |
'bcpio' => 'application/x-bcpio', |
| 71 |
'bdf' => 'application/x-font-bdf', |
| 72 |
'bdm' => 'application/vnd.syncml.dm+wbxml', |
| 73 |
'bed' => 'application/vnd.realvnc.bed', |
| 74 |
'bh2' => 'application/vnd.fujitsu.oasysprs', |
| 75 |
'bin' => 'application/octet-stream', |
| 76 |
'blb' => 'application/x-blorb', |
| 77 |
'blorb' => 'application/x-blorb', |
| 78 |
'bmi' => 'application/vnd.bmi', |
| 79 |
'bmp' => 'image/x-ms-bmp', |
| 80 |
'book' => 'application/vnd.framemaker', |
| 81 |
'box' => 'application/vnd.previewsystems.box', |
| 82 |
'boz' => 'application/x-bzip2', |
| 83 |
'bpk' => 'application/octet-stream', |
| 84 |
'btif' => 'image/prs.btif', |
| 85 |
'buffer' => 'application/octet-stream', |
| 86 |
'bz' => 'application/x-bzip', |
| 87 |
'bz2' => 'application/x-bzip2', |
| 88 |
'c' => 'text/x-c', |
| 89 |
'c11amc' => 'application/vnd.cluetrust.cartomobile-config', |
| 90 |
'c11amz' => 'application/vnd.cluetrust.cartomobile-config-pkg', |
| 91 |
'c4d' => 'application/vnd.clonk.c4group', |
| 92 |
'c4f' => 'application/vnd.clonk.c4group', |
| 93 |
'c4g' => 'application/vnd.clonk.c4group', |
| 94 |
'c4p' => 'application/vnd.clonk.c4group', |
| 95 |
'c4u' => 'application/vnd.clonk.c4group', |
| 96 |
'cab' => 'application/vnd.ms-cab-compressed', |
| 97 |
'caf' => 'audio/x-caf', |
| 98 |
'cap' => 'application/vnd.tcpdump.pcap', |
| 99 |
'car' => 'application/vnd.curl.car', |
| 100 |
'cat' => 'application/vnd.ms-pki.seccat', |
| 101 |
'cb7' => 'application/x-cbr', |
| 102 |
'cba' => 'application/x-cbr', |
| 103 |
'cbr' => 'application/x-cbr', |
| 104 |
'cbt' => 'application/x-cbr', |
| 105 |
'cbz' => 'application/x-cbr', |
| 106 |
'cc' => 'text/x-c', |
| 107 |
'cct' => 'application/x-director', |
| 108 |
'ccxml' => 'application/ccxml+xml', |
| 109 |
'cdbcmsg' => 'application/vnd.contact.cmsg', |
| 110 |
'cdf' => 'application/x-netcdf', |
| 111 |
'cdkey' => 'application/vnd.mediastation.cdkey', |
| 112 |
'cdmia' => 'application/cdmi-capability', |
| 113 |
'cdmic' => 'application/cdmi-container', |
| 114 |
'cdmid' => 'application/cdmi-domain', |
| 115 |
'cdmio' => 'application/cdmi-object', |
| 116 |
'cdmiq' => 'application/cdmi-queue', |
| 117 |
'cdx' => 'chemical/x-cdx', |
| 118 |
'cdxml' => 'application/vnd.chemdraw+xml', |
| 119 |
'cdy' => 'application/vnd.cinderella', |
| 120 |
'cer' => 'application/pkix-cert', |
| 121 |
'cfs' => 'application/x-cfs-compressed', |
| 122 |
'cgm' => 'image/cgm', |
| 123 |
'chat' => 'application/x-chat', |
| 124 |
'chm' => 'application/vnd.ms-htmlhelp', |
| 125 |
'chrt' => 'application/vnd.kde.kchart', |
| 126 |
'cif' => 'chemical/x-cif', |
| 127 |
'cii' => 'application/vnd.anser-web-certificate-issue-initiation', |
| 128 |
'cil' => 'application/vnd.ms-artgalry', |
| 129 |
'cla' => 'application/vnd.claymore', |
| 130 |
'class' => 'application/java-vm', |
| 131 |
'clkk' => 'application/vnd.crick.clicker.keyboard', |
| 132 |
'clkp' => 'application/vnd.crick.clicker.palette', |
| 133 |
'clkt' => 'application/vnd.crick.clicker.template', |
| 134 |
'clkw' => 'application/vnd.crick.clicker.wordbank', |
| 135 |
'clkx' => 'application/vnd.crick.clicker', |
| 136 |
'clp' => 'application/x-msclip', |
| 137 |
'cmc' => 'application/vnd.cosmocaller', |
| 138 |
'cmdf' => 'chemical/x-cmdf', |
| 139 |
'cml' => 'chemical/x-cml', |
| 140 |
'cmp' => 'application/vnd.yellowriver-custom-menu', |
| 141 |
'cmx' => 'image/x-cmx', |
| 142 |
'cod' => 'application/vnd.rim.cod', |
| 143 |
'com' => 'application/x-msdownload', |
| 144 |
'conf' => 'text/plain', |
| 145 |
'cpio' => 'application/x-cpio', |
| 146 |
'cpp' => 'text/x-c', |
| 147 |
'cpt' => 'application/mac-compactpro', |
| 148 |
'crd' => 'application/x-mscardfile', |
| 149 |
'crl' => 'application/pkix-crl', |
| 150 |
'crt' => 'application/x-x509-ca-cert', |
| 151 |
'crx' => 'application/x-chrome-extension', |
| 152 |
'cryptonote' => 'application/vnd.rig.cryptonote', |
| 153 |
'csh' => 'application/x-csh', |
| 154 |
'csml' => 'chemical/x-csml', |
| 155 |
'csp' => 'application/vnd.commonspace', |
| 156 |
'css' => 'text/css', |
| 157 |
'cst' => 'application/x-director', |
| 158 |
'csv' => 'text/csv', |
| 159 |
'cu' => 'application/cu-seeme', |
| 160 |
'curl' => 'text/vnd.curl', |
| 161 |
'cww' => 'application/prs.cww', |
| 162 |
'cxt' => 'application/x-director', |
| 163 |
'cxx' => 'text/x-c', |
| 164 |
'dae' => 'model/vnd.collada+xml', |
| 165 |
'daf' => 'application/vnd.mobius.daf', |
| 166 |
'dart' => 'application/vnd.dart', |
| 167 |
'dataless' => 'application/vnd.fdsn.seed', |
| 168 |
'davmount' => 'application/davmount+xml', |
| 169 |
'dbk' => 'application/docbook+xml', |
| 170 |
'dcr' => 'application/x-director', |
| 171 |
'dcurl' => 'text/vnd.curl.dcurl', |
| 172 |
'dd2' => 'application/vnd.oma.dd2+xml', |
| 173 |
'ddd' => 'application/vnd.fujixerox.ddd', |
| 174 |
'deb' => 'application/x-debian-package', |
| 175 |
'def' => 'text/plain', |
| 176 |
'deploy' => 'application/octet-stream', |
| 177 |
'der' => 'application/x-x509-ca-cert', |
| 178 |
'dfac' => 'application/vnd.dreamfactory', |
| 179 |
'dgc' => 'application/x-dgc-compressed', |
| 180 |
'dic' => 'text/x-c', |
| 181 |
'dir' => 'application/x-director', |
| 182 |
'dis' => 'application/vnd.mobius.dis', |
| 183 |
'dist' => 'application/octet-stream', |
| 184 |
'distz' => 'application/octet-stream', |
| 185 |
'djv' => 'image/vnd.djvu', |
| 186 |
'djvu' => 'image/vnd.djvu', |
| 187 |
'dll' => 'application/x-msdownload', |
| 188 |
'dmg' => 'application/x-apple-diskimage', |
| 189 |
'dmp' => 'application/vnd.tcpdump.pcap', |
| 190 |
'dms' => 'application/octet-stream', |
| 191 |
'dna' => 'application/vnd.dna', |
| 192 |
'doc' => 'application/msword', |
| 193 |
'docm' => 'application/vnd.ms-word.document.macroenabled.12', |
| 194 |
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', |
| 195 |
'dot' => 'application/msword', |
| 196 |
'dotm' => 'application/vnd.ms-word.template.macroenabled.12', |
| 197 |
'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', |
| 198 |
'dp' => 'application/vnd.osgi.dp', |
| 199 |
'dpg' => 'application/vnd.dpgraph', |
| 200 |
'dra' => 'audio/vnd.dra', |
| 201 |
'dsc' => 'text/prs.lines.tag', |
| 202 |
'dssc' => 'application/dssc+der', |
| 203 |
'dtb' => 'application/x-dtbook+xml', |
| 204 |
'dtd' => 'application/xml-dtd', |
| 205 |
'dts' => 'audio/vnd.dts', |
| 206 |
'dtshd' => 'audio/vnd.dts.hd', |
| 207 |
'dump' => 'application/octet-stream', |
| 208 |
'dvb' => 'video/vnd.dvb.file', |
| 209 |
'dvi' => 'application/x-dvi', |
| 210 |
'dwf' => 'model/vnd.dwf', |
| 211 |
'dwg' => 'image/vnd.dwg', |
| 212 |
'dxf' => 'image/vnd.dxf', |
| 213 |
'dxp' => 'application/vnd.spotfire.dxp', |
| 214 |
'dxr' => 'application/x-director', |
| 215 |
'ecelp4800' => 'audio/vnd.nuera.ecelp4800', |
| 216 |
'ecelp7470' => 'audio/vnd.nuera.ecelp7470', |
| 217 |
'ecelp9600' => 'audio/vnd.nuera.ecelp9600', |
| 218 |
'ecma' => 'application/ecmascript', |
| 219 |
'edm' => 'application/vnd.novadigm.edm', |
| 220 |
'edx' => 'application/vnd.novadigm.edx', |
| 221 |
'efif' => 'application/vnd.picsel', |
| 222 |
'ei6' => 'application/vnd.pg.osasli', |
| 223 |
'elc' => 'application/octet-stream', |
| 224 |
'emf' => 'application/x-msmetafile', |
| 225 |
'eml' => 'message/rfc822', |
| 226 |
'emma' => 'application/emma+xml', |
| 227 |
'emz' => 'application/x-msmetafile', |
| 228 |
'eol' => 'audio/vnd.digital-winds', |
| 229 |
'eot' => 'application/vnd.ms-fontobject', |
| 230 |
'eps' => 'application/postscript', |
| 231 |
'epub' => 'application/epub+zip', |
| 232 |
'es3' => 'application/vnd.eszigno3+xml', |
| 233 |
'esa' => 'application/vnd.osgi.subsystem', |
| 234 |
'esf' => 'application/vnd.epson.esf', |
| 235 |
'et3' => 'application/vnd.eszigno3+xml', |
| 236 |
'etx' => 'text/x-setext', |
| 237 |
'eva' => 'application/x-eva', |
| 238 |
'event-stream' => 'text/event-stream', |
| 239 |
'evy' => 'application/x-envoy', |
| 240 |
'exe' => 'application/x-msdownload', |
| 241 |
'exi' => 'application/exi', |
| 242 |
'ext' => 'application/vnd.novadigm.ext', |
| 243 |
'ez' => 'application/andrew-inset', |
| 244 |
'ez2' => 'application/vnd.ezpix-album', |
| 245 |
'ez3' => 'application/vnd.ezpix-package', |
| 246 |
'f' => 'text/x-fortran', |
| 247 |
'f4v' => 'video/x-f4v', |
| 248 |
'f77' => 'text/x-fortran', |
| 249 |
'f90' => 'text/x-fortran', |
| 250 |
'fbs' => 'image/vnd.fastbidsheet', |
| 251 |
'fcdt' => 'application/vnd.adobe.formscentral.fcdt', |
| 252 |
'fcs' => 'application/vnd.isac.fcs', |
| 253 |
'fdf' => 'application/vnd.fdf', |
| 254 |
'fe_launch' => 'application/vnd.denovo.fcselayout-link', |
| 255 |
'fg5' => 'application/vnd.fujitsu.oasysgp', |
| 256 |
'fgd' => 'application/x-director', |
| 257 |
'fh' => 'image/x-freehand', |
| 258 |
'fh4' => 'image/x-freehand', |
| 259 |
'fh5' => 'image/x-freehand', |
| 260 |
'fh7' => 'image/x-freehand', |
| 261 |
'fhc' => 'image/x-freehand', |
| 262 |
'fig' => 'application/x-xfig', |
| 263 |
'flac' => 'audio/flac', |
| 264 |
'fli' => 'video/x-fli', |
| 265 |
'flo' => 'application/vnd.micrografx.flo', |
| 266 |
'flv' => 'video/x-flv', |
| 267 |
'flw' => 'application/vnd.kde.kivio', |
| 268 |
'flx' => 'text/vnd.fmi.flexstor', |
| 269 |
'fly' => 'text/vnd.fly', |
| 270 |
'fm' => 'application/vnd.framemaker', |
| 271 |
'fnc' => 'application/vnd.frogans.fnc', |
| 272 |
'for' => 'text/x-fortran', |
| 273 |
'fpx' => 'image/vnd.fpx', |
| 274 |
'frame' => 'application/vnd.framemaker', |
| 275 |
'fsc' => 'application/vnd.fsc.weblaunch', |
| 276 |
'fst' => 'image/vnd.fst', |
| 277 |
'ftc' => 'application/vnd.fluxtime.clip', |
| 278 |
'fti' => 'application/vnd.anser-web-funds-transfer-initiation', |
| 279 |
'fvt' => 'video/vnd.fvt', |
| 280 |
'fxp' => 'application/vnd.adobe.fxp', |
| 281 |
'fxpl' => 'application/vnd.adobe.fxp', |
| 282 |
'fzs' => 'application/vnd.fuzzysheet', |
| 283 |
'g2w' => 'application/vnd.geoplan', |
| 284 |
'g3' => 'image/g3fax', |
| 285 |
'g3w' => 'application/vnd.geospace', |
| 286 |
'gac' => 'application/vnd.groove-account', |
| 287 |
'gam' => 'application/x-tads', |
| 288 |
'gbr' => 'application/rpki-ghostbusters', |
| 289 |
'gca' => 'application/x-gca-compressed', |
| 290 |
'gdl' => 'model/vnd.gdl', |
| 291 |
'geo' => 'application/vnd.dynageo', |
| 292 |
'gex' => 'application/vnd.geometry-explorer', |
| 293 |
'ggb' => 'application/vnd.geogebra.file', |
| 294 |
'ggt' => 'application/vnd.geogebra.tool', |
| 295 |
'ghf' => 'application/vnd.groove-help', |
| 296 |
'gif' => 'image/gif', |
| 297 |
'gim' => 'application/vnd.groove-identity-message', |
| 298 |
'gml' => 'application/gml+xml', |
| 299 |
'gmx' => 'application/vnd.gmx', |
| 300 |
'gnumeric' => 'application/x-gnumeric', |
| 301 |
'gph' => 'application/vnd.flographit', |
| 302 |
'gpx' => 'application/gpx+xml', |
| 303 |
'gqf' => 'application/vnd.grafeq', |
| 304 |
'gqs' => 'application/vnd.grafeq', |
| 305 |
'gram' => 'application/srgs', |
| 306 |
'gramps' => 'application/x-gramps-xml', |
| 307 |
'gre' => 'application/vnd.geometry-explorer', |
| 308 |
'grv' => 'application/vnd.groove-injector', |
| 309 |
'grxml' => 'application/srgs+xml', |
| 310 |
'gsf' => 'application/x-font-ghostscript', |
| 311 |
'gtar' => 'application/x-gtar', |
| 312 |
'gtm' => 'application/vnd.groove-tool-message', |
| 313 |
'gtw' => 'model/vnd.gtw', |
| 314 |
'gv' => 'text/vnd.graphviz', |
| 315 |
'gxf' => 'application/gxf', |
| 316 |
'gxt' => 'application/vnd.geonext', |
| 317 |
'h' => 'text/x-c', |
| 318 |
'h261' => 'video/h261', |
| 319 |
'h263' => 'video/h263', |
| 320 |
'h264' => 'video/h264', |
| 321 |
'hal' => 'application/vnd.hal+xml', |
| 322 |
'hbci' => 'application/vnd.hbci', |
| 323 |
'hdf' => 'application/x-hdf', |
| 324 |
'hh' => 'text/x-c', |
| 325 |
'hlp' => 'application/winhlp', |
| 326 |
'hpgl' => 'application/vnd.hp-hpgl', |
| 327 |
'hpid' => 'application/vnd.hp-hpid', |
| 328 |
'hps' => 'application/vnd.hp-hps', |
| 329 |
'hqx' => 'application/mac-binhex40', |
| 330 |
'htc' => 'text/x-component', |
| 331 |
'htke' => 'application/vnd.kenameaapp', |
| 332 |
'htm' => 'text/html', |
| 333 |
'html' => 'text/html', |
| 334 |
'hvd' => 'application/vnd.yamaha.hv-dic', |
| 335 |
'hvp' => 'application/vnd.yamaha.hv-voice', |
| 336 |
'hvs' => 'application/vnd.yamaha.hv-script', |
| 337 |
'i2g' => 'application/vnd.intergeo', |
| 338 |
'icc' => 'application/vnd.iccprofile', |
| 339 |
'ice' => 'x-conference/x-cooltalk', |
| 340 |
'icm' => 'application/vnd.iccprofile', |
| 341 |
'ico' => 'image/x-icon', |
| 342 |
'ics' => 'text/calendar', |
| 343 |
'ief' => 'image/ief', |
| 344 |
'ifb' => 'text/calendar', |
| 345 |
'ifm' => 'application/vnd.shana.informed.formdata', |
| 346 |
'iges' => 'model/iges', |
| 347 |
'igl' => 'application/vnd.igloader', |
| 348 |
'igm' => 'application/vnd.insors.igm', |
| 349 |
'igs' => 'model/iges', |
| 350 |
'igx' => 'application/vnd.micrografx.igx', |
| 351 |
'iif' => 'application/vnd.shana.informed.interchange', |
| 352 |
'imp' => 'application/vnd.accpac.simply.imp', |
| 353 |
'ims' => 'application/vnd.ms-ims', |
| 354 |
'in' => 'text/plain', |
| 355 |
'ink' => 'application/inkml+xml', |
| 356 |
'inkml' => 'application/inkml+xml', |
| 357 |
'install' => 'application/x-install-instructions', |
| 358 |
'iota' => 'application/vnd.astraea-software.iota', |
| 359 |
'ipfix' => 'application/ipfix', |
| 360 |
'ipk' => 'application/vnd.shana.informed.package', |
| 361 |
'irm' => 'application/vnd.ibm.rights-management', |
| 362 |
'irp' => 'application/vnd.irepository.package+xml', |
| 363 |
'iso' => 'application/x-iso9660-image', |
| 364 |
'itp' => 'application/vnd.shana.informed.formtemplate', |
| 365 |
'ivp' => 'application/vnd.immervision-ivp', |
| 366 |
'ivu' => 'application/vnd.immervision-ivu', |
| 367 |
'jad' => 'text/vnd.sun.j2me.app-descriptor', |
| 368 |
'jam' => 'application/vnd.jam', |
| 369 |
'jar' => 'application/java-archive', |
| 370 |
'java' => 'text/x-java-source', |
| 371 |
'jisp' => 'application/vnd.jisp', |
| 372 |
'jlt' => 'application/vnd.hp-jlyt', |
| 373 |
'jnlp' => 'application/x-java-jnlp-file', |
| 374 |
'joda' => 'application/vnd.joost.joda-archive', |
| 375 |
'jpe' => 'image/jpeg', |
| 376 |
'jpeg' => 'image/jpeg', |
| 377 |
'jpg' => 'image/jpeg', |
| 378 |
'jpgm' => 'video/jpm', |
| 379 |
'jpgv' => 'video/jpeg', |
| 380 |
'jpm' => 'video/jpm', |
| 381 |
'js' => 'application/javascript', |
| 382 |
'json' => 'application/json', |
| 383 |
'jsonml' => 'application/jsonml+json', |
| 384 |
'kar' => 'audio/midi', |
| 385 |
'karbon' => 'application/vnd.kde.karbon', |
| 386 |
'kfo' => 'application/vnd.kde.kformula', |
| 387 |
'kia' => 'application/vnd.kidspiration', |
| 388 |
'kml' => 'application/vnd.google-earth.kml+xml', |
| 389 |
'kmz' => 'application/vnd.google-earth.kmz', |
| 390 |
'kne' => 'application/vnd.kinar', |
| 391 |
'knp' => 'application/vnd.kinar', |
| 392 |
'kon' => 'application/vnd.kde.kontour', |
| 393 |
'kpr' => 'application/vnd.kde.kpresenter', |
| 394 |
'kpt' => 'application/vnd.kde.kpresenter', |
| 395 |
'kpxx' => 'application/vnd.ds-keypoint', |
| 396 |
'ksp' => 'application/vnd.kde.kspread', |
| 397 |
'ktr' => 'application/vnd.kahootz', |
| 398 |
'ktx' => 'image/ktx', |
| 399 |
'ktz' => 'application/vnd.kahootz', |
| 400 |
'kwd' => 'application/vnd.kde.kword', |
| 401 |
'kwt' => 'application/vnd.kde.kword', |
| 402 |
'lasxml' => 'application/vnd.las.las+xml', |
| 403 |
'latex' => 'application/x-latex', |
| 404 |
'lbd' => 'application/vnd.llamagraphics.life-balance.desktop', |
| 405 |
'lbe' => 'application/vnd.llamagraphics.life-balance.exchange+xml', |
| 406 |
'les' => 'application/vnd.hhe.lesson-player', |
| 407 |
'lha' => 'application/x-lzh-compressed', |
| 408 |
'link66' => 'application/vnd.route66.link66+xml', |
| 409 |
'list' => 'text/plain', |
| 410 |
'list3820' => 'application/vnd.ibm.modcap', |
| 411 |
'listafp' => 'application/vnd.ibm.modcap', |
| 412 |
'lnk' => 'application/x-ms-shortcut', |
| 413 |
'log' => 'text/plain', |
| 414 |
'lostxml' => 'application/lost+xml', |
| 415 |
'lrf' => 'application/octet-stream', |
| 416 |
'lrm' => 'application/vnd.ms-lrm', |
| 417 |
'ltf' => 'application/vnd.frogans.ltf', |
| 418 |
'lua' => 'text/x-lua', |
| 419 |
'luac' => 'application/x-lua-bytecode', |
| 420 |
'lvp' => 'audio/vnd.lucent.voice', |
| 421 |
'lwp' => 'application/vnd.lotus-wordpro', |
| 422 |
'lzh' => 'application/x-lzh-compressed', |
| 423 |
'm13' => 'application/x-msmediaview', |
| 424 |
'm14' => 'application/x-msmediaview', |
| 425 |
'm1v' => 'video/mpeg', |
| 426 |
'm21' => 'application/mp21', |
| 427 |
'm2a' => 'audio/mpeg', |
| 428 |
'm2v' => 'video/mpeg', |
| 429 |
'm3a' => 'audio/mpeg', |
| 430 |
'm3u' => 'audio/x-mpegurl', |
| 431 |
'm3u8' => 'application/x-mpegURL', |
| 432 |
'm4a' => 'audio/mp4', |
| 433 |
'm4p' => 'application/mp4', |
| 434 |
'm4u' => 'video/vnd.mpegurl', |
| 435 |
'm4v' => 'video/x-m4v', |
| 436 |
'ma' => 'application/mathematica', |
| 437 |
'mads' => 'application/mads+xml', |
| 438 |
'mag' => 'application/vnd.ecowin.chart', |
| 439 |
'maker' => 'application/vnd.framemaker', |
| 440 |
'man' => 'text/troff', |
| 441 |
'manifest' => 'text/cache-manifest', |
| 442 |
'mar' => 'application/octet-stream', |
| 443 |
'markdown' => 'text/x-markdown', |
| 444 |
'mathml' => 'application/mathml+xml', |
| 445 |
'mb' => 'application/mathematica', |
| 446 |
'mbk' => 'application/vnd.mobius.mbk', |
| 447 |
'mbox' => 'application/mbox', |
| 448 |
'mc1' => 'application/vnd.medcalcdata', |
| 449 |
'mcd' => 'application/vnd.mcd', |
| 450 |
'mcurl' => 'text/vnd.curl.mcurl', |
| 451 |
'md' => 'text/x-markdown', |
| 452 |
'mdb' => 'application/x-msaccess', |
| 453 |
'mdi' => 'image/vnd.ms-modi', |
| 454 |
'me' => 'text/troff', |
| 455 |
'mesh' => 'model/mesh', |
| 456 |
'meta4' => 'application/metalink4+xml', |
| 457 |
'metalink' => 'application/metalink+xml', |
| 458 |
'mets' => 'application/mets+xml', |
| 459 |
'mfm' => 'application/vnd.mfmp', |
| 460 |
'mft' => 'application/rpki-manifest', |
| 461 |
'mgp' => 'application/vnd.osgeo.mapguide.package', |
| 462 |
'mgz' => 'application/vnd.proteus.magazine', |
| 463 |
'mid' => 'audio/midi', |
| 464 |
'midi' => 'audio/midi', |
| 465 |
'mie' => 'application/x-mie', |
| 466 |
'mif' => 'application/vnd.mif', |
| 467 |
'mime' => 'message/rfc822', |
| 468 |
'mj2' => 'video/mj2', |
| 469 |
'mjp2' => 'video/mj2', |
| 470 |
'mk3d' => 'video/x-matroska', |
| 471 |
'mka' => 'audio/x-matroska', |
| 472 |
'mkd' => 'text/x-markdown', |
| 473 |
'mks' => 'video/x-matroska', |
| 474 |
'mkv' => 'video/x-matroska', |
| 475 |
'mlp' => 'application/vnd.dolby.mlp', |
| 476 |
'mmd' => 'application/vnd.chipnuts.karaoke-mmd', |
| 477 |
'mmf' => 'application/vnd.smaf', |
| 478 |
'mmr' => 'image/vnd.fujixerox.edmics-mmr', |
| 479 |
'mng' => 'video/x-mng', |
| 480 |
'mny' => 'application/x-msmoney', |
| 481 |
'mobi' => 'application/x-mobipocket-ebook', |
| 482 |
'mods' => 'application/mods+xml', |
| 483 |
'mov' => 'video/quicktime', |
| 484 |
'movie' => 'video/x-sgi-movie', |
| 485 |
'mp2' => 'audio/mpeg', |
| 486 |
'mp21' => 'application/mp21', |
| 487 |
'mp2a' => 'audio/mpeg', |
| 488 |
'mp3' => 'audio/mpeg', |
| 489 |
'mp4' => 'video/mp4', |
| 490 |
'mp4a' => 'audio/mp4', |
| 491 |
'mp4s' => 'application/mp4', |
| 492 |
'mp4v' => 'video/mp4', |
| 493 |
'mpc' => 'application/vnd.mophun.certificate', |
| 494 |
'mpe' => 'video/mpeg', |
| 495 |
'mpeg' => 'video/mpeg', |
| 496 |
'mpg' => 'video/mpeg', |
| 497 |
'mpg4' => 'video/mp4', |
| 498 |
'mpga' => 'audio/mpeg', |
| 499 |
'mpkg' => 'application/vnd.apple.installer+xml', |
| 500 |
'mpm' => 'application/vnd.blueice.multipass', |
| 501 |
'mpn' => 'application/vnd.mophun.application', |
| 502 |
'mpp' => 'application/vnd.ms-project', |
| 503 |
'mpt' => 'application/vnd.ms-project', |
| 504 |
'mpy' => 'application/vnd.ibm.minipay', |
| 505 |
'mqy' => 'application/vnd.mobius.mqy', |
| 506 |
'mrc' => 'application/marc', |
| 507 |
'mrcx' => 'application/marcxml+xml', |
| 508 |
'ms' => 'text/troff', |
| 509 |
'mscml' => 'application/mediaservercontrol+xml', |
| 510 |
'mseed' => 'application/vnd.fdsn.mseed', |
| 511 |
'mseq' => 'application/vnd.mseq', |
| 512 |
'msf' => 'application/vnd.epson.msf', |
| 513 |
'msg' => 'application/vnd.ms-outlook', |
| 514 |
'msh' => 'model/mesh', |
| 515 |
'msi' => 'application/x-msdownload', |
| 516 |
'msl' => 'application/vnd.mobius.msl', |
| 517 |
'msty' => 'application/vnd.muvee.style', |
| 518 |
'mts' => 'model/vnd.mts', |
| 519 |
'mus' => 'application/vnd.musician', |
| 520 |
'musicxml' => 'application/vnd.recordare.musicxml+xml', |
| 521 |
'mvb' => 'application/x-msmediaview', |
| 522 |
'mwf' => 'application/vnd.mfer', |
| 523 |
'mxf' => 'application/mxf', |
| 524 |
'mxl' => 'application/vnd.recordare.musicxml', |
| 525 |
'mxml' => 'application/xv+xml', |
| 526 |
'mxs' => 'application/vnd.triscape.mxs', |
| 527 |
'mxu' => 'video/vnd.mpegurl', |
| 528 |
'n-gage' => 'application/vnd.nokia.n-gage.symbian.install', |
| 529 |
'n3' => 'text/n3', |
| 530 |
'nb' => 'application/mathematica', |
| 531 |
'nbp' => 'application/vnd.wolfram.player', |
| 532 |
'nc' => 'application/x-netcdf', |
| 533 |
'ncx' => 'application/x-dtbncx+xml', |
| 534 |
'nfo' => 'text/x-nfo', |
| 535 |
'ngdat' => 'application/vnd.nokia.n-gage.data', |
| 536 |
'nitf' => 'application/vnd.nitf', |
| 537 |
'nlu' => 'application/vnd.neurolanguage.nlu', |
| 538 |
'nml' => 'application/vnd.enliven', |
| 539 |
'nnd' => 'application/vnd.noblenet-directory', |
| 540 |
'nns' => 'application/vnd.noblenet-sealer', |
| 541 |
'nnw' => 'application/vnd.noblenet-web', |
| 542 |
'npx' => 'image/vnd.net-fpx', |
| 543 |
'nsc' => 'application/x-conference', |
| 544 |
'nsf' => 'application/vnd.lotus-notes', |
| 545 |
'ntf' => 'application/vnd.nitf', |
| 546 |
'nzb' => 'application/x-nzb', |
| 547 |
'oa2' => 'application/vnd.fujitsu.oasys2', |
| 548 |
'oa3' => 'application/vnd.fujitsu.oasys3', |
| 549 |
'oas' => 'application/vnd.fujitsu.oasys', |
| 550 |
'obd' => 'application/x-msbinder', |
| 551 |
'obj' => 'application/x-tgif', |
| 552 |
'oda' => 'application/oda', |
| 553 |
'odb' => 'application/vnd.oasis.opendocument.database', |
| 554 |
'odc' => 'application/vnd.oasis.opendocument.chart', |
| 555 |
'odf' => 'application/vnd.oasis.opendocument.formula', |
| 556 |
'odft' => 'application/vnd.oasis.opendocument.formula-template', |
| 557 |
'odg' => 'application/vnd.oasis.opendocument.graphics', |
| 558 |
'odi' => 'application/vnd.oasis.opendocument.image', |
| 559 |
'odm' => 'application/vnd.oasis.opendocument.text-master', |
| 560 |
'odp' => 'application/vnd.oasis.opendocument.presentation', |
| 561 |
'ods' => 'application/vnd.oasis.opendocument.spreadsheet', |
| 562 |
'odt' => 'application/vnd.oasis.opendocument.text', |
| 563 |
'oga' => 'audio/ogg', |
| 564 |
'ogg' => 'audio/ogg', |
| 565 |
'ogv' => 'video/ogg', |
| 566 |
'ogx' => 'application/ogg', |
| 567 |
'omdoc' => 'application/omdoc+xml', |
| 568 |
'onepkg' => 'application/onenote', |
| 569 |
'onetmp' => 'application/onenote', |
| 570 |
'onetoc' => 'application/onenote', |
| 571 |
'onetoc2' => 'application/onenote', |
| 572 |
'opf' => 'application/oebps-package+xml', |
| 573 |
'opml' => 'text/x-opml', |
| 574 |
'oprc' => 'application/vnd.palm', |
| 575 |
'org' => 'application/vnd.lotus-organizer', |
| 576 |
'osf' => 'application/vnd.yamaha.openscoreformat', |
| 577 |
'osfpvg' => 'application/vnd.yamaha.openscoreformat.osfpvg+xml', |
| 578 |
'otc' => 'application/vnd.oasis.opendocument.chart-template', |
| 579 |
'otf' => 'font/opentype', |
| 580 |
'otg' => 'application/vnd.oasis.opendocument.graphics-template', |
| 581 |
'oth' => 'application/vnd.oasis.opendocument.text-web', |
| 582 |
'oti' => 'application/vnd.oasis.opendocument.image-template', |
| 583 |
'otp' => 'application/vnd.oasis.opendocument.presentation-template', |
| 584 |
'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template', |
| 585 |
'ott' => 'application/vnd.oasis.opendocument.text-template', |
| 586 |
'oxps' => 'application/oxps', |
| 587 |
'oxt' => 'application/vnd.openofficeorg.extension', |
| 588 |
'p' => 'text/x-pascal', |
| 589 |
'p10' => 'application/pkcs10', |
| 590 |
'p12' => 'application/x-pkcs12', |
| 591 |
'p7b' => 'application/x-pkcs7-certificates', |
| 592 |
'p7c' => 'application/pkcs7-mime', |
| 593 |
'p7m' => 'application/pkcs7-mime', |
| 594 |
'p7r' => 'application/x-pkcs7-certreqresp', |
| 595 |
'p7s' => 'application/pkcs7-signature', |
| 596 |
'p8' => 'application/pkcs8', |
| 597 |
'pas' => 'text/x-pascal', |
| 598 |
'paw' => 'application/vnd.pawaafile', |
| 599 |
'pbd' => 'application/vnd.powerbuilder6', |
| 600 |
'pbm' => 'image/x-portable-bitmap', |
| 601 |
'pcap' => 'application/vnd.tcpdump.pcap', |
| 602 |
'pcf' => 'application/x-font-pcf', |
| 603 |
'pcl' => 'application/vnd.hp-pcl', |
| 604 |
'pclxl' => 'application/vnd.hp-pclxl', |
| 605 |
'pct' => 'image/x-pict', |
| 606 |
'pcurl' => 'application/vnd.curl.pcurl', |
| 607 |
'pcx' => 'image/x-pcx', |
| 608 |
'pdb' => 'application/vnd.palm', |
| 609 |
'pdf' => 'application/pdf', |
| 610 |
'pfa' => 'application/x-font-type1', |
| 611 |
'pfb' => 'application/x-font-type1', |
| 612 |
'pfm' => 'application/x-font-type1', |
| 613 |
'pfr' => 'application/font-tdpfr', |
| 614 |
'pfx' => 'application/x-pkcs12', |
| 615 |
'pgm' => 'image/x-portable-graymap', |
| 616 |
'pgn' => 'application/x-chess-pgn', |
| 617 |
'pgp' => 'application/pgp-encrypted', |
| 618 |
'pic' => 'image/x-pict', |
| 619 |
'pkg' => 'application/octet-stream', |
| 620 |
'pki' => 'application/pkixcmp', |
| 621 |
'pkipath' => 'application/pkix-pkipath', |
| 622 |
'plb' => 'application/vnd.3gpp.pic-bw-large', |
| 623 |
'plc' => 'application/vnd.mobius.plc', |
| 624 |
'plf' => 'application/vnd.pocketlearn', |
| 625 |
'pls' => 'application/pls+xml', |
| 626 |
'pml' => 'application/vnd.ctc-posml', |
| 627 |
'png' => 'image/png', |
| 628 |
'pnm' => 'image/x-portable-anymap', |
| 629 |
'portpkg' => 'application/vnd.macports.portpkg', |
| 630 |
'pot' => 'application/vnd.ms-powerpoint', |
| 631 |
'potm' => 'application/vnd.ms-powerpoint.template.macroenabled.12', |
| 632 |
'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template', |
| 633 |
'ppam' => 'application/vnd.ms-powerpoint.addin.macroenabled.12', |
| 634 |
'ppd' => 'application/vnd.cups-ppd', |
| 635 |
'ppm' => 'image/x-portable-pixmap', |
| 636 |
'pps' => 'application/vnd.ms-powerpoint', |
| 637 |
'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroenabled.12', |
| 638 |
'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', |
| 639 |
'ppt' => 'application/vnd.ms-powerpoint', |
| 640 |
'pptm' => 'application/vnd.ms-powerpoint.presentation.macroenabled.12', |
| 641 |
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', |
| 642 |
'pqa' => 'application/vnd.palm', |
| 643 |
'prc' => 'application/x-mobipocket-ebook', |
| 644 |
'pre' => 'application/vnd.lotus-freelance', |
| 645 |
'prf' => 'application/pics-rules', |
| 646 |
'ps' => 'application/postscript', |
| 647 |
'psb' => 'application/vnd.3gpp.pic-bw-small', |
| 648 |
'psd' => 'image/vnd.adobe.photoshop', |
| 649 |
'psf' => 'application/x-font-linux-psf', |
| 650 |
'pskcxml' => 'application/pskc+xml', |
| 651 |
'ptid' => 'application/vnd.pvi.ptid1', |
| 652 |
'pub' => 'application/x-mspublisher', |
| 653 |
'pvb' => 'application/vnd.3gpp.pic-bw-var', |
| 654 |
'pwn' => 'application/vnd.3m.post-it-notes', |
| 655 |
'pya' => 'audio/vnd.ms-playready.media.pya', |
| 656 |
'pyv' => 'video/vnd.ms-playready.media.pyv', |
| 657 |
'qam' => 'application/vnd.epson.quickanime', |
| 658 |
'qbo' => 'application/vnd.intu.qbo', |
| 659 |
'qfx' => 'application/vnd.intu.qfx', |
| 660 |
'qps' => 'application/vnd.publishare-delta-tree', |
| 661 |
'qt' => 'video/quicktime', |
| 662 |
'qwd' => 'application/vnd.quark.quarkxpress', |
| 663 |
'qwt' => 'application/vnd.quark.quarkxpress', |
| 664 |
'qxb' => 'application/vnd.quark.quarkxpress', |
| 665 |
'qxd' => 'application/vnd.quark.quarkxpress', |
| 666 |
'qxl' => 'application/vnd.quark.quarkxpress', |
| 667 |
'qxt' => 'application/vnd.quark.quarkxpress', |
| 668 |
'ra' => 'audio/x-pn-realaudio', |
| 669 |
'ram' => 'audio/x-pn-realaudio', |
| 670 |
'rar' => 'application/x-rar', |
| 671 |
'ras' => 'image/x-cmu-raster', |
| 672 |
'rcprofile' => 'application/vnd.ipunplugged.rcprofile', |
| 673 |
'rdf' => 'application/rdf+xml', |
| 674 |
'rdz' => 'application/vnd.data-vision.rdz', |
| 675 |
'rep' => 'application/vnd.businessobjects', |
| 676 |
'res' => 'application/x-dtbresource+xml', |
| 677 |
'rgb' => 'image/x-rgb', |
| 678 |
'rif' => 'application/reginfo+xml', |
| 679 |
'rip' => 'audio/vnd.rip', |
| 680 |
'ris' => 'application/x-research-info-systems', |
| 681 |
'rl' => 'application/resource-lists+xml', |
| 682 |
'rlc' => 'image/vnd.fujixerox.edmics-rlc', |
| 683 |
'rld' => 'application/resource-lists-diff+xml', |
| 684 |
'rm' => 'application/vnd.rn-realmedia', |
| 685 |
'rmi' => 'audio/midi', |
| 686 |
'rmp' => 'audio/x-pn-realaudio-plugin', |
| 687 |
'rms' => 'application/vnd.jcp.javame.midlet-rms', |
| 688 |
'rmvb' => 'application/vnd.rn-realmedia-vbr', |
| 689 |
'rnc' => 'application/relax-ng-compact-syntax', |
| 690 |
'roa' => 'application/rpki-roa', |
| 691 |
'roff' => 'text/troff', |
| 692 |
'rp9' => 'application/vnd.cloanto.rp9', |
| 693 |
'rpss' => 'application/vnd.nokia.radio-presets', |
| 694 |
'rpst' => 'application/vnd.nokia.radio-preset', |
| 695 |
'rq' => 'application/sparql-query', |
| 696 |
'rs' => 'application/rls-services+xml', |
| 697 |
'rsd' => 'application/rsd+xml', |
| 698 |
'rss' => 'application/rss+xml', |
| 699 |
'rtf' => 'text/rtf', |
| 700 |
'rtx' => 'text/richtext', |
| 701 |
's' => 'text/x-asm', |
| 702 |
's3m' => 'audio/s3m', |
| 703 |
'saf' => 'application/vnd.yamaha.smaf-audio', |
| 704 |
'sbml' => 'application/sbml+xml', |
| 705 |
'sc' => 'application/vnd.ibm.secure-container', |
| 706 |
'scd' => 'application/x-msschedule', |
| 707 |
'scm' => 'application/vnd.lotus-screencam', |
| 708 |
'scq' => 'application/scvp-cv-request', |
| 709 |
'scs' => 'application/scvp-cv-response', |
| 710 |
'scurl' => 'text/vnd.curl.scurl', |
| 711 |
'sda' => 'application/vnd.stardivision.draw', |
| 712 |
'sdc' => 'application/vnd.stardivision.calc', |
| 713 |
'sdd' => 'application/vnd.stardivision.impress', |
| 714 |
'sdkd' => 'application/vnd.solent.sdkm+xml', |
| 715 |
'sdkm' => 'application/vnd.solent.sdkm+xml', |
| 716 |
'sdp' => 'application/sdp', |
| 717 |
'sdw' => 'application/vnd.stardivision.writer', |
| 718 |
'see' => 'application/vnd.seemail', |
| 719 |
'seed' => 'application/vnd.fdsn.seed', |
| 720 |
'sema' => 'application/vnd.sema', |
| 721 |
'semd' => 'application/vnd.semd', |
| 722 |
'semf' => 'application/vnd.semf', |
| 723 |
'ser' => 'application/java-serialized-object', |
| 724 |
'setpay' => 'application/set-payment-initiation', |
| 725 |
'setreg' => 'application/set-registration-initiation', |
| 726 |
'sfd-hdstx' => 'application/vnd.hydrostatix.sof-data', |
| 727 |
'sfs' => 'application/vnd.spotfire.sfs', |
| 728 |
'sfv' => 'text/x-sfv', |
| 729 |
'sgi' => 'image/sgi', |
| 730 |
'sgl' => 'application/vnd.stardivision.writer-global', |
| 731 |
'sgm' => 'text/sgml', |
| 732 |
'sgml' => 'text/sgml', |
| 733 |
'sh' => 'application/x-sh', |
| 734 |
'shar' => 'application/x-shar', |
| 735 |
'shf' => 'application/shf+xml', |
| 736 |
'sid' => 'image/x-mrsid-image', |
| 737 |
'sig' => 'application/pgp-signature', |
| 738 |
'sil' => 'audio/silk', |
| 739 |
'silo' => 'model/mesh', |
| 740 |
'sis' => 'application/vnd.symbian.install', |
| 741 |
'sisx' => 'application/vnd.symbian.install', |
| 742 |
'sit' => 'application/x-stuffit', |
| 743 |
'sitx' => 'application/x-stuffitx', |
| 744 |
'skd' => 'application/vnd.koan', |
| 745 |
'skm' => 'application/vnd.koan', |
| 746 |
'skp' => 'application/vnd.koan', |
| 747 |
'skt' => 'application/vnd.koan', |
| 748 |
'sldm' => 'application/vnd.ms-powerpoint.slide.macroenabled.12', |
| 749 |
'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide', |
| 750 |
'slt' => 'application/vnd.epson.salt', |
| 751 |
'sm' => 'application/vnd.stepmania.stepchart', |
| 752 |
'smf' => 'application/vnd.stardivision.math', |
| 753 |
'smi' => 'application/smil+xml', |
| 754 |
'smil' => 'application/smil+xml', |
| 755 |
'smv' => 'video/x-smv', |
| 756 |
'smzip' => 'application/vnd.stepmania.package', |
| 757 |
'snd' => 'audio/basic', |
| 758 |
'snf' => 'application/x-font-snf', |
| 759 |
'so' => 'application/octet-stream', |
| 760 |
'spc' => 'application/x-pkcs7-certificates', |
| 761 |
'spf' => 'application/vnd.yamaha.smaf-phrase', |
| 762 |
'spl' => 'application/x-futuresplash', |
| 763 |
'spot' => 'text/vnd.in3d.spot', |
| 764 |
'spp' => 'application/scvp-vp-response', |
| 765 |
'spq' => 'application/scvp-vp-request', |
| 766 |
'spx' => 'audio/ogg', |
| 767 |
'sql' => 'application/x-sql', |
| 768 |
'src' => 'application/x-wais-source', |
| 769 |
'srt' => 'application/x-subrip', |
| 770 |
'sru' => 'application/sru+xml', |
| 771 |
'srx' => 'application/sparql-results+xml', |
| 772 |
'ssdl' => 'application/ssdl+xml', |
| 773 |
'sse' => 'application/vnd.kodak-descriptor', |
| 774 |
'ssf' => 'application/vnd.epson.ssf', |
| 775 |
'ssml' => 'application/ssml+xml', |
| 776 |
'st' => 'application/vnd.sailingtracker.track', |
| 777 |
'stc' => 'application/vnd.sun.xml.calc.template', |
| 778 |
'std' => 'application/vnd.sun.xml.draw.template', |
| 779 |
'stf' => 'application/vnd.wt.stf', |
| 780 |
'sti' => 'application/vnd.sun.xml.impress.template', |
| 781 |
'stk' => 'application/hyperstudio', |
| 782 |
'stl' => 'application/sla', |
| 783 |
'str' => 'application/vnd.pg.format', |
| 784 |
'stw' => 'application/vnd.sun.xml.writer.template', |
| 785 |
'sub' => 'text/vnd.dvb.subtitle', |
| 786 |
'sus' => 'application/vnd.sus-calendar', |
| 787 |
'susp' => 'application/vnd.sus-calendar', |
| 788 |
'sv4cpio' => 'application/x-sv4cpio', |
| 789 |
'sv4crc' => 'application/x-sv4crc', |
| 790 |
'svc' => 'application/vnd.dvb.service', |
| 791 |
'svd' => 'application/vnd.svd', |
| 792 |
'svg' => 'image/svg+xml', |
| 793 |
'svgz' => 'image/svg+xml', |
| 794 |
'swa' => 'application/x-director', |
| 795 |
'swf' => 'application/x-shockwave-flash', |
| 796 |
'swi' => 'application/vnd.aristanetworks.swi', |
| 797 |
'sxc' => 'application/vnd.sun.xml.calc', |
| 798 |
'sxd' => 'application/vnd.sun.xml.draw', |
| 799 |
'sxg' => 'application/vnd.sun.xml.writer.global', |
| 800 |
'sxi' => 'application/vnd.sun.xml.impress', |
| 801 |
'sxm' => 'application/vnd.sun.xml.math', |
| 802 |
'sxw' => 'application/vnd.sun.xml.writer', |
| 803 |
't' => 'text/troff', |
| 804 |
't3' => 'application/x-t3vm-image', |
| 805 |
'taglet' => 'application/vnd.mynfc', |
| 806 |
'tao' => 'application/vnd.tao.intent-module-archive', |
| 807 |
'tar' => 'application/x-tar', |
| 808 |
'tcap' => 'application/vnd.3gpp2.tcap', |
| 809 |
'tcl' => 'application/x-tcl', |
| 810 |
'teacher' => 'application/vnd.smart.teacher', |
| 811 |
'tei' => 'application/tei+xml', |
| 812 |
'teicorpus' => 'application/tei+xml', |
| 813 |
'tex' => 'application/x-tex', |
| 814 |
'texi' => 'application/x-texinfo', |
| 815 |
'texinfo' => 'application/x-texinfo', |
| 816 |
'text' => 'text/plain', |
| 817 |
'tfi' => 'application/thraud+xml', |
| 818 |
'tfm' => 'application/x-tex-tfm', |
| 819 |
'tga' => 'image/x-tga', |
| 820 |
'thmx' => 'application/vnd.ms-officetheme', |
| 821 |
'tif' => 'image/tiff', |
| 822 |
'tiff' => 'image/tiff', |
| 823 |
'tmo' => 'application/vnd.tmobile-livetv', |
| 824 |
'torrent' => 'application/x-bittorrent', |
| 825 |
'tpl' => 'application/vnd.groove-tool-template', |
| 826 |
'tpt' => 'application/vnd.trid.tpt', |
| 827 |
'tr' => 'text/troff', |
| 828 |
'tra' => 'application/vnd.trueapp', |
| 829 |
'trm' => 'application/x-msterminal', |
| 830 |
'ts' => 'video/MP2T', |
| 831 |
'tsd' => 'application/timestamped-data', |
| 832 |
'tsv' => 'text/tab-separated-values', |
| 833 |
'ttc' => 'application/x-font-ttf', |
| 834 |
'ttf' => 'application/x-font-ttf', |
| 835 |
'ttl' => 'text/turtle', |
| 836 |
'twd' => 'application/vnd.simtech-mindmapper', |
| 837 |
'twds' => 'application/vnd.simtech-mindmapper', |
| 838 |
'txd' => 'application/vnd.genomatix.tuxedo', |
| 839 |
'txf' => 'application/vnd.mobius.txf', |
| 840 |
'txt' => 'text/plain', |
| 841 |
'u32' => 'application/x-authorware-bin', |
| 842 |
'udeb' => 'application/x-debian-package', |
| 843 |
'ufd' => 'application/vnd.ufdl', |
| 844 |
'ufdl' => 'application/vnd.ufdl', |
| 845 |
'ulx' => 'application/x-glulx', |
| 846 |
'umj' => 'application/vnd.umajin', |
| 847 |
'unityweb' => 'application/vnd.unity', |
| 848 |
'uoml' => 'application/vnd.uoml+xml', |
| 849 |
'uri' => 'text/uri-list', |
| 850 |
'uris' => 'text/uri-list', |
| 851 |
'urls' => 'text/uri-list', |
| 852 |
'ustar' => 'application/x-ustar', |
| 853 |
'utz' => 'application/vnd.uiq.theme', |
| 854 |
'uu' => 'text/x-uuencode', |
| 855 |
'uva' => 'audio/vnd.dece.audio', |
| 856 |
'uvd' => 'application/vnd.dece.data', |
| 857 |
'uvf' => 'application/vnd.dece.data', |
| 858 |
'uvg' => 'image/vnd.dece.graphic', |
| 859 |
'uvh' => 'video/vnd.dece.hd', |
| 860 |
'uvi' => 'image/vnd.dece.graphic', |
| 861 |
'uvm' => 'video/vnd.dece.mobile', |
| 862 |
'uvp' => 'video/vnd.dece.pd', |
| 863 |
'uvs' => 'video/vnd.dece.sd', |
| 864 |
'uvt' => 'application/vnd.dece.ttml+xml', |
| 865 |
'uvu' => 'video/vnd.uvvu.mp4', |
| 866 |
'uvv' => 'video/vnd.dece.video', |
| 867 |
'uvva' => 'audio/vnd.dece.audio', |
| 868 |
'uvvd' => 'application/vnd.dece.data', |
| 869 |
'uvvf' => 'application/vnd.dece.data', |
| 870 |
'uvvg' => 'image/vnd.dece.graphic', |
| 871 |
'uvvh' => 'video/vnd.dece.hd', |
| 872 |
'uvvi' => 'image/vnd.dece.graphic', |
| 873 |
'uvvm' => 'video/vnd.dece.mobile', |
| 874 |
'uvvp' => 'video/vnd.dece.pd', |
| 875 |
'uvvs' => 'video/vnd.dece.sd', |
| 876 |
'uvvt' => 'application/vnd.dece.ttml+xml', |
| 877 |
'uvvu' => 'video/vnd.uvvu.mp4', |
| 878 |
'uvvv' => 'video/vnd.dece.video', |
| 879 |
'uvvx' => 'application/vnd.dece.unspecified', |
| 880 |
'uvvz' => 'application/vnd.dece.zip', |
| 881 |
'uvx' => 'application/vnd.dece.unspecified', |
| 882 |
'uvz' => 'application/vnd.dece.zip', |
| 883 |
'vcard' => 'text/vcard', |
| 884 |
'vcd' => 'application/x-cdlink', |
| 885 |
'vcf' => 'text/x-vcard', |
| 886 |
'vcg' => 'application/vnd.groove-vcard', |
| 887 |
'vcs' => 'text/x-vcalendar', |
| 888 |
'vcx' => 'application/vnd.vcx', |
| 889 |
'vis' => 'application/vnd.visionary', |
| 890 |
'viv' => 'video/vnd.vivo', |
| 891 |
'vob' => 'video/x-ms-vob', |
| 892 |
'vor' => 'application/vnd.stardivision.writer', |
| 893 |
'vox' => 'application/x-authorware-bin', |
| 894 |
'vrml' => 'model/vrml', |
| 895 |
'vsd' => 'application/vnd.visio', |
| 896 |
'vsf' => 'application/vnd.vsf', |
| 897 |
'vss' => 'application/vnd.visio', |
| 898 |
'vst' => 'application/vnd.visio', |
| 899 |
'vsw' => 'application/vnd.visio', |
| 900 |
'vtt' => 'text/vtt', |
| 901 |
'vtu' => 'model/vnd.vtu', |
| 902 |
'vxml' => 'application/voicexml+xml', |
| 903 |
'w3d' => 'application/x-director', |
| 904 |
'wad' => 'application/x-doom', |
| 905 |
'wav' => 'audio/x-wav', |
| 906 |
'wax' => 'audio/x-ms-wax', |
| 907 |
'wbmp' => 'image/vnd.wap.wbmp', |
| 908 |
'wbs' => 'application/vnd.criticaltools.wbs+xml', |
| 909 |
'wbxml' => 'application/vnd.wap.wbxml', |
| 910 |
'wcm' => 'application/vnd.ms-works', |
| 911 |
'wdb' => 'application/vnd.ms-works', |
| 912 |
'wdp' => 'image/vnd.ms-photo', |
| 913 |
'weba' => 'audio/webm', |
| 914 |
'webapp' => 'application/x-web-app-manifest+json', |
| 915 |
'webm' => 'video/webm', |
| 916 |
'webp' => 'image/webp', |
| 917 |
'wg' => 'application/vnd.pmi.widget', |
| 918 |
'wgt' => 'application/widget', |
| 919 |
'wks' => 'application/vnd.ms-works', |
| 920 |
'wm' => 'video/x-ms-wm', |
| 921 |
'wma' => 'audio/x-ms-wma', |
| 922 |
'wmd' => 'application/x-ms-wmd', |
| 923 |
'wmf' => 'application/x-msmetafile', |
| 924 |
'wml' => 'text/vnd.wap.wml', |
| 925 |
'wmlc' => 'application/vnd.wap.wmlc', |
| 926 |
'wmls' => 'text/vnd.wap.wmlscript', |
| 927 |
'wmlsc' => 'application/vnd.wap.wmlscriptc', |
| 928 |
'wmv' => 'video/x-ms-wmv', |
| 929 |
'wmx' => 'video/x-ms-wmx', |
| 930 |
'wmz' => 'application/x-msmetafile', |
| 931 |
'woff' => 'application/x-font-woff', |
| 932 |
'wpd' => 'application/vnd.wordperfect', |
| 933 |
'wpl' => 'application/vnd.ms-wpl', |
| 934 |
'wps' => 'application/vnd.ms-works', |
| 935 |
'wqd' => 'application/vnd.wqd', |
| 936 |
'wri' => 'application/x-mswrite', |
| 937 |
'wrl' => 'model/vrml', |
| 938 |
'wsdl' => 'application/wsdl+xml', |
| 939 |
'wspolicy' => 'application/wspolicy+xml', |
| 940 |
'wtb' => 'application/vnd.webturbo', |
| 941 |
'wvx' => 'video/x-ms-wvx', |
| 942 |
'x32' => 'application/x-authorware-bin', |
| 943 |
'x3d' => 'model/x3d+xml', |
| 944 |
'x3db' => 'model/x3d+binary', |
| 945 |
'x3dbz' => 'model/x3d+binary', |
| 946 |
'x3dv' => 'model/x3d+vrml', |
| 947 |
'x3dvz' => 'model/x3d+vrml', |
| 948 |
'x3dz' => 'model/x3d+xml', |
| 949 |
'xaml' => 'application/xaml+xml', |
| 950 |
'xap' => 'application/x-silverlight-app', |
| 951 |
'xar' => 'application/vnd.xara', |
| 952 |
'xbap' => 'application/x-ms-xbap', |
| 953 |
'xbd' => 'application/vnd.fujixerox.docuworks.binder', |
| 954 |
'xbm' => 'image/x-xbitmap', |
| 955 |
'xdf' => 'application/xcap-diff+xml', |
| 956 |
'xdm' => 'application/vnd.syncml.dm+xml', |
| 957 |
'xdp' => 'application/vnd.adobe.xdp+xml', |
| 958 |
'xdssc' => 'application/dssc+xml', |
| 959 |
'xdw' => 'application/vnd.fujixerox.docuworks', |
| 960 |
'xenc' => 'application/xenc+xml', |
| 961 |
'xer' => 'application/patch-ops-error+xml', |
| 962 |
'xfdf' => 'application/vnd.adobe.xfdf', |
| 963 |
'xfdl' => 'application/vnd.xfdl', |
| 964 |
'xht' => 'application/xhtml+xml', |
| 965 |
'xhtml' => 'application/xhtml+xml', |
| 966 |
'xhvml' => 'application/xv+xml', |
| 967 |
'xif' => 'image/vnd.xiff', |
| 968 |
'xla' => 'application/vnd.ms-excel', |
| 969 |
'xlam' => 'application/vnd.ms-excel.addin.macroenabled.12', |
| 970 |
'xlc' => 'application/vnd.ms-excel', |
| 971 |
'xlf' => 'application/x-xliff+xml', |
| 972 |
'xlm' => 'application/vnd.ms-excel', |
| 973 |
'xls' => 'application/vnd.ms-excel', |
| 974 |
'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroenabled.12', |
| 975 |
'xlsm' => 'application/vnd.ms-excel.sheet.macroenabled.12', |
| 976 |
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', |
| 977 |
'xlt' => 'application/vnd.ms-excel', |
| 978 |
'xltm' => 'application/vnd.ms-excel.template.macroenabled.12', |
| 979 |
'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', |
| 980 |
'xlw' => 'application/vnd.ms-excel', |
| 981 |
'xm' => 'audio/xm', |
| 982 |
'xml' => 'application/xml', |
| 983 |
'xo' => 'application/vnd.olpc-sugar', |
| 984 |
'xop' => 'application/xop+xml', |
| 985 |
'xpi' => 'application/x-xpinstall', |
| 986 |
'xpl' => 'application/xproc+xml', |
| 987 |
'xpm' => 'image/x-xpixmap', |
| 988 |
'xpr' => 'application/vnd.is-xpr', |
| 989 |
'xps' => 'application/vnd.ms-xpsdocument', |
| 990 |
'xpw' => 'application/vnd.intercon.formnet', |
| 991 |
'xpx' => 'application/vnd.intercon.formnet', |
| 992 |
'xsl' => 'application/xml', |
| 993 |
'xslt' => 'application/xslt+xml', |
| 994 |
'xsm' => 'application/vnd.syncml+xml', |
| 995 |
'xspf' => 'application/xspf+xml', |
| 996 |
'xul' => 'application/vnd.mozilla.xul+xml', |
| 997 |
'xvm' => 'application/xv+xml', |
| 998 |
'xvml' => 'application/xv+xml', |
| 999 |
'xwd' => 'image/x-xwindowdump', |
| 1000 |
'xyz' => 'chemical/x-xyz', |
| 1001 |
'xz' => 'application/x-xz', |
| 1002 |
'yang' => 'application/yang', |
| 1003 |
'yin' => 'application/yin+xml', |
| 1004 |
'z1' => 'application/x-zmachine', |
| 1005 |
'z2' => 'application/x-zmachine', |
| 1006 |
'z3' => 'application/x-zmachine', |
| 1007 |
'z4' => 'application/x-zmachine', |
| 1008 |
'z5' => 'application/x-zmachine', |
| 1009 |
'z6' => 'application/x-zmachine', |
| 1010 |
'z7' => 'application/x-zmachine', |
| 1011 |
'z8' => 'application/x-zmachine', |
| 1012 |
'zaz' => 'application/vnd.zzazz.deck+xml', |
| 1013 |
'zip' => 'application/zip', |
| 1014 |
'zir' => 'application/vnd.zul', |
| 1015 |
'zirz' => 'application/vnd.zul', |
| 1016 |
'zmm' => 'application/vnd.handheld-entertainment+xml', |
| 1017 |
'cam' => 'application/cam', |
| 1018 |
'dcm' => 'application/dicom', |
| 1019 |
'emb' => 'application/octet-stream', |
| 1020 |
'pes' => 'application/octet-stream', |
| 1021 |
'jef' => 'application/octet-stream', |
| 1022 |
'cpl' => 'application/octet-stream', |
| 1023 |
); |
| 1024 |
|
| 1025 |
if ( array_key_exists( $extension, $mime_types_map ) ) { |
| 1026 |
$mime = $mime_types_map[ $extension ]; |
| 1027 |
} |
| 1028 |
|
| 1029 |
return $mime; |
| 1030 |
} |
| 1031 |
} |
| 1032 |
endif; |
| 1033 |
|