source: trunk/Packages/CoolWeb/Common/MIMEType.pas

Last change on this file was 151, checked in by chronos, 9 months ago
File size: 20.6 KB
Line 
1unit MIMEType;
2
3interface
4
5uses
6 Classes, SysUtils;
7
8function GetMIMEType(FileExtension: string): string;
9
10var
11 MIMETypeList: TStringList;
12
13
14implementation
15
16function GetMIMEType(FileExtension: string): string;
17begin
18 Result := MIMETypeList.Values[FileExtension];
19 if Result = '' then Result := 'application/octet-stream';
20end;
21
22initialization
23
24MIMETypeList := TStringList.Create;
25with MIMETypeList do begin
26 Values['html'] := 'text/html';
27 Values['png'] := 'image/png';
28 Values['htm'] := 'text/html';
29 Values['txt'] := 'text/text';
30 Values['xml'] := 'text/xml';
31 Values['jpeg'] := 'image/jpeg';
32 Values['jpg'] := 'image/jpeg';
33 Values['bmp'] := 'image/bmp';
34 Values['css'] := 'text/css';
35end;
36
37finalization
38
39MIMETypeList.Destroy;
40
41end.
42
43(*
44 Add('3dm', 'x-world/x-3dmf');
45 Add('3dmf', 'x-world/x-3dmf');
46 Add('a application/octet-stream');
47 Add('aab application/x-authorware-bin
48 Add('aam application/x-authorware-map');
49 Add('aas application/x-authorware-seg');
50 Add('abc text/vnd.abc');
51 Add('acgi text/html');
52 Add('afl video/animaflex');
53 Add('ai application/postscript');
54 Add('aif audio/aiff');
55 Add('aif audio/x-aiff');
56 Add('aifc audio/aiff');
57 Add('aifc audio/x-aiff');
58 Add('aiff audio/aiff');
59 Add('aiff audio/x-aiff');
60 Add('aim application/x-aim');
61 Add('aip text/x-audiosoft-intra');
62 Add('ani application/x-navi-animation');
63 Add('aos application/x-nokia-9000-communicator-add-on-software');
64 Add('aps application/mime');
65 Add('arc application/octet-stream');
66 Add('arj application/arj');
67 Add('arj application/octet-stream');
68 Add('art image/x-jg');
69 Add('asf video/x-ms-asf');
70 Add('asm text/x-asm');
71 Add('asp text/asp');
72 Add('asx application/x-mplayer2');
73 Add('asx video/x-ms-asf');
74 Add('asx video/x-ms-asf-plugin');
75 Add('au audio/basic');
76 Add('au audio/x-au');
77 Add('avi application/x-troff-msvideo');
78 Add('avi video/avi');
79 Add('avi video/msvideo');
80 Add('avi video/x-msvideo');
81 Add('avs video/avs-video');
82 Add('bcpio application/x-bcpio');
83 Add('bin application/mac-binary');
84 Add('bin application/macbinary');
85 Add('bin application/octet-stream
86 Add('bin application/x-binary
87 Add('bin application/x-macbinary
88 Add('bm image/bmp
89 Add('bmp image/bmp
90 Add('bmp image/x-windows-bmp
91 Add('boo application/book
92 Add('book application/book
93 Add('boz application/x-bzip2
94 Add('bsh application/x-bsh
95 Add('bz application/x-bzip
96 Add('bz2 application/x-bzip2
97 Add('c text/plain
98 Add('c text/x-c
99 Add('c++ text/plain
100 Add('cat application/vnd Add('ms-pki Add('seccat
101 Add('cc text/plain
102 Add('cc text/x-c
103 Add('ccad application/clariscad
104 Add('cco application/x-cocoa
105 Add('cdf application/cdf
106 Add('cdf application/x-cdf
107 Add('cdf application/x-netcdf
108 Add('cer application/pkix-cert
109 Add('cer application/x-x509-ca-cert
110 Add('cha application/x-chat
111 Add('chat application/x-chat
112 Add('class application/java
113 Add('class application/java-byte-code
114 Add('class application/x-java-class
115 Add('com application/octet-stream
116 Add('com text/plain
117 Add('conf text/plain
118 Add('cpio application/x-cpio
119 Add('cpp text/x-c
120 Add('cpt application/mac-compactpro
121 Add('cpt application/x-compactpro
122 Add('cpt application/x-cpt
123 Add('crl application/pkcs-crl
124 Add('crl application/pkix-crl
125 Add('crt application/pkix-cert
126 Add('crt application/x-x509-ca-cert
127 Add('crt application/x-x509-user-cert
128 Add('csh application/x-csh
129 Add('csh text/x-script Add('csh
130 Add('css application/x-pointplus
131 Add('css text/css
132 Add('cxx text/plain
133 Add('dcr application/x-director
134 Add('deepv application/x-deepv
135 Add('def text/plain
136 Add('der application/x-x509-ca-cert
137 Add('dif video/x-dv
138 Add('dir application/x-director
139 Add('dl video/dl
140 Add('dl video/x-dl
141 Add('doc application/msword
142 Add('dot application/msword
143 Add('dp application/commonground
144 Add('drw application/drafting
145 Add('dump application/octet-stream
146 Add('dv video/x-dv
147 Add('dvi application/x-dvi
148 Add('dwf drawing/x-dwf (old)
149 Add('dwf model/vnd Add('dwf
150 Add('dwg application/acad
151 Add('dwg image/vnd Add('dwg
152 Add('dwg image/x-dwg
153 Add('dxf application/dxf
154 Add('dxf image/vnd Add('dwg
155 Add('dxf image/x-dwg
156 Add('dxr application/x-director
157 Add('el text/x-script Add('elisp
158 Add('elc application/x-bytecode Add('elisp (compiled elisp)
159 Add('elc application/x-elc
160 Add('env application/x-envoy
161 Add('eps application/postscript
162 Add('es application/x-esrehber
163 Add('etx text/x-setext
164 Add('evy application/envoy
165 Add('evy application/x-envoy
166 Add('exe application/octet-stream
167 Add('f text/plain
168 Add('f text/x-fortran
169 Add('f77 text/x-fortran
170 Add('f90 text/plain
171 Add('f90 text/x-fortran
172 Add('fdf application/vnd Add('fdf
173 Add('fif application/fractals
174 Add('fif image/fif
175 Add('fli video/fli
176 Add('fli video/x-fli
177 Add('flo image/florian
178 Add('flx text/vnd Add('fmi Add('flexstor
179 Add('fmf video/x-atomic3d-feature
180 Add('for text/plain
181 Add('for text/x-fortran
182 Add('fpx image/vnd Add('fpx
183 Add('fpx image/vnd Add('net-fpx
184 Add('frl application/freeloader
185 Add('funk audio/make
186 Add('g text/plain
187 Add('g3 image/g3fax
188 Add('gif image/gif
189 Add('gl video/gl
190 Add('gl video/x-gl
191 Add('gsd audio/x-gsm
192 Add('gsm audio/x-gsm
193 Add('gsp application/x-gsp
194 Add('gss application/x-gss
195 Add('gtar application/x-gtar
196 Add('gz application/x-compressed
197 Add('gz application/x-gzip
198 Add('gzip application/x-gzip
199 Add('gzip multipart/x-gzip
200 Add('h text/plain
201 Add('h text/x-h
202 Add('hdf application/x-hdf
203 Add('help application/x-helpfile
204 Add('hgl application/vnd Add('hp-hpgl
205 Add('hh text/plain
206 Add('hh text/x-h
207 Add('hlb text/x-script
208 Add('hlp application/hlp
209 Add('hlp application/x-helpfile
210 Add('hlp application/x-winhelp
211 Add('hpg application/vnd Add('hp-hpgl
212 Add('hpgl application/vnd Add('hp-hpgl
213 Add('hqx application/binhex
214 Add('hqx application/binhex4
215 Add('hqx application/mac-binhex
216 Add('hqx application/mac-binhex40
217 Add('hqx application/x-binhex40
218 Add('hqx application/x-mac-binhex40
219 Add('hta application/hta
220 Add('htc text/x-component
221 Add('htm text/html
222 Add('html text/html
223 Add('htmls text/html
224 Add('htt text/webviewhtml
225 Add('htx text/html
226 Add('ice x-conference/x-cooltalk
227 Add('ico image/x-icon
228 Add('idc text/plain
229 Add('ief image/ief
230 Add('iefs image/ief
231 Add('iges application/iges
232 Add('iges model/iges
233 Add('igs application/iges
234 Add('igs model/iges
235 Add('ima application/x-ima
236 Add('imap application/x-httpd-imap
237 Add('inf application/inf
238 Add('ins application/x-internett-signup
239 Add('ip application/x-ip2
240 Add('isu video/x-isvideo
241 Add('it audio/it
242 Add('iv application/x-inventor
243 Add('ivr i-world/i-vrml
244 Add('ivy application/x-livescreen
245 Add('jam audio/x-jam
246 Add('jav text/plain
247 Add('jav text/x-java-source
248 Add('java text/plain
249 Add('java text/x-java-source
250 Add('jcm application/x-java-commerce
251 Add('jfif image/jpeg
252 Add('jfif image/pjpeg
253 Add('jfif-tbnl image/jpeg
254 Add('jpe image/jpeg
255 Add('jpe image/pjpeg
256 Add('jpeg image/jpeg
257 Add('jpeg image/pjpeg
258 Add('jpg image/jpeg
259 Add('jpg image/pjpeg
260 Add('jps image/x-jps
261 Add('js application/x-javascript
262 Add('jut image/jutvision
263 Add('kar audio/midi
264 Add('kar music/x-karaoke
265 Add('ksh application/x-ksh
266 Add('ksh text/x-script Add('ksh
267 Add('la audio/nspaudio
268 Add('la audio/x-nspaudio
269 Add('lam audio/x-liveaudio
270 Add('latex application/x-latex
271 Add('lha application/lha
272 Add('lha application/octet-stream
273 Add('lha application/x-lha
274 Add('lhx application/octet-stream
275 Add('list text/plain
276 Add('lma audio/nspaudio
277 Add('lma audio/x-nspaudio
278 Add('log text/plain
279 Add('lsp application/x-lisp
280 Add('lsp text/x-script Add('lisp
281 Add('lst text/plain
282 Add('lsx text/x-la-asf
283 Add('ltx application/x-latex
284 Add('lzh application/octet-stream
285 Add('lzh application/x-lzh
286 Add('lzx application/lzx
287 Add('lzx application/octet-stream
288 Add('lzx application/x-lzx
289 Add('m text/plain
290 Add('m text/x-m
291 Add('m1v video/mpeg
292 Add('m2a audio/mpeg
293 Add('m2v video/mpeg
294 Add('m3u audio/x-mpequrl
295 Add('man application/x-troff-man
296 Add('map application/x-navimap
297 Add('mar text/plain
298 Add('mbd application/mbedlet
299 Add('mc$ application/x-magic-cap-package-1 Add('0
300 Add('mcd application/mcad
301 Add('mcd application/x-mathcad
302 Add('mcf image/vasa
303 Add('mcf text/mcf
304 Add('mcp application/netmc
305 Add('me application/x-troff-me
306 Add('mht message/rfc822
307 Add('mhtml message/rfc822
308 Add('mid application/x-midi
309 Add('mid audio/midi
310 Add('mid audio/x-mid
311 Add('mid audio/x-midi
312 Add('mid music/crescendo
313 Add('mid x-music/x-midi
314 Add('midi application/x-midi
315 Add('midi audio/midi
316 Add('midi audio/x-mid
317 Add('midi audio/x-midi
318 Add('midi music/crescendo
319 Add('midi x-music/x-midi
320 Add('mif application/x-frame
321 Add('mif application/x-mif
322 Add('mime message/rfc822
323 Add('mime www/mime
324 Add('mjf audio/x-vnd Add('audioexplosion Add('mjuicemediafile
325 Add('mjpg video/x-motion-jpeg
326 Add('mm application/base64
327 Add('mm application/x-meme
328 Add('mme application/base64
329 Add('mod audio/mod
330 Add('mod audio/x-mod
331 Add('moov video/quicktime
332 Add('mov video/quicktime
333 Add('movie video/x-sgi-movie
334 Add('mp2 audio/mpeg
335 Add('mp2 audio/x-mpeg
336 Add('mp2 video/mpeg
337 Add('mp2 video/x-mpeg
338 Add('mp2 video/x-mpeq2a
339 Add('mp3 audio/mpeg3
340 Add('mp3 audio/x-mpeg-3
341 Add('mp3 video/mpeg
342 Add('mp3 video/x-mpeg
343 Add('mpa audio/mpeg
344 Add('mpa video/mpeg
345 Add('mpc application/x-project
346 Add('mpe video/mpeg
347 Add('mpeg video/mpeg
348 Add('mpg audio/mpeg
349 Add('mpg video/mpeg
350 Add('mpga audio/mpeg
351 Add('mpp application/vnd Add('ms-project
352 Add('mpt application/x-project
353 Add('mpv application/x-project
354 Add('mpx application/x-project
355 Add('mrc application/marc
356 Add('ms application/x-troff-ms
357 Add('mv video/x-sgi-movie
358 Add('my audio/make
359 Add('mzz application/x-vnd Add('audioexplosion Add('mzz
360 Add('nap image/naplps
361 Add('naplps image/naplps
362 Add('nc application/x-netcdf
363 Add('ncm application/vnd Add('nokia Add('configuration-message
364 Add('nif image/x-niff
365 Add('niff image/x-niff
366 Add('nix application/x-mix-transfer
367 Add('nsc application/x-conference
368 Add('nvd application/x-navidoc
369 Add('o application/octet-stream
370 Add('oda application/oda
371 Add('omc application/x-omc
372 Add('omcd application/x-omcdatamaker
373 Add('omcr application/x-omcregerator
374 Add('p text/x-pascal
375 Add('p10 application/pkcs10
376 Add('p10 application/x-pkcs10
377 Add('p12 application/pkcs-12
378 Add('p12 application/x-pkcs12
379 Add('p7a application/x-pkcs7-signature
380 Add('p7c application/pkcs7-mime
381 Add('p7c application/x-pkcs7-mime
382 Add('p7m application/pkcs7-mime
383 Add('p7m application/x-pkcs7-mime
384 Add('p7r application/x-pkcs7-certreqresp
385 Add('p7s application/pkcs7-signature
386 Add('part application/pro_eng
387 Add('pas text/pascal
388 Add('pbm image/x-portable-bitmap
389 Add('pcl application/vnd Add('hp-pcl
390 Add('pcl application/x-pcl
391 Add('pct image/x-pict
392 Add('pcx image/x-pcx
393 Add('pdb chemical/x-pdb
394 Add('pdf application/pdf
395 Add('pfunk audio/make
396 Add('pfunk audio/make Add('my Add('funk
397 Add('pgm image/x-portable-graymap
398 Add('pgm image/x-portable-greymap
399 Add('pic image/pict
400 Add('pict image/pict
401 Add('pkg application/x-newton-compatible-pkg
402 Add('pko application/vnd Add('ms-pki Add('pko
403 Add('pl text/plain
404 Add('pl text/x-script Add('perl
405 Add('plx application/x-pixclscript
406 Add('pm image/x-xpixmap
407 Add('pm text/x-script Add('perl-module
408 Add('pm4 application/x-pagemaker
409 Add('pm5 application/x-pagemaker
410 Add('png image/png
411 Add('pnm application/x-portable-anymap
412 Add('pnm image/x-portable-anymap
413 Add('pot application/mspowerpoint
414 Add('pot application/vnd Add('ms-powerpoint
415 Add('pov model/x-pov
416 Add('ppa application/vnd Add('ms-powerpoint
417 Add('ppm image/x-portable-pixmap
418 Add('pps application/mspowerpoint
419 Add('pps application/vnd Add('ms-powerpoint
420 Add('ppt application/mspowerpoint
421 Add('ppt application/powerpoint
422 Add('ppt application/vnd Add('ms-powerpoint
423 Add('ppt application/x-mspowerpoint
424 Add('ppz application/mspowerpoint
425 Add('pre application/x-freelance
426 Add('prt application/pro_eng
427 Add('ps application/postscript
428 Add('psd application/octet-stream
429 Add('pvu paleovu/x-pv
430 Add('pwz application/vnd Add('ms-powerpoint
431 Add('py text/x-script Add('phyton
432 Add('pyc applicaiton/x-bytecode Add('python
433 Add('qcp audio/vnd Add('qcelp
434 Add('qd3 x-world/x-3dmf
435 Add('qd3d x-world/x-3dmf
436 Add('qif image/x-quicktime
437 Add('qt video/quicktime
438 Add('qtc video/x-qtc
439 Add('qti image/x-quicktime
440 Add('qtif image/x-quicktime
441 Add('ra audio/x-pn-realaudio
442 Add('ra audio/x-pn-realaudio-plugin
443 Add('ra audio/x-realaudio
444 Add('ram audio/x-pn-realaudio
445 Add('ras application/x-cmu-raster
446 Add('ras image/cmu-raster
447 Add('ras image/x-cmu-raster
448 Add('rast image/cmu-raster
449 Add('rexx text/x-script Add('rexx
450 Add('rf image/vnd Add('rn-realflash
451 Add('rgb image/x-rgb
452 Add('rm application/vnd Add('rn-realmedia
453 Add('rm audio/x-pn-realaudio
454 Add('rmi audio/mid
455 Add('rmm audio/x-pn-realaudio
456 Add('rmp audio/x-pn-realaudio
457 Add('rmp audio/x-pn-realaudio-plugin
458 Add('rng application/ringing-tones
459 Add('rng application/vnd Add('nokia Add('ringing-tone
460 Add('rnx application/vnd Add('rn-realplayer
461 Add('roff application/x-troff
462 Add('rp image/vnd Add('rn-realpix
463 Add('rpm audio/x-pn-realaudio-plugin
464 Add('rt text/richtext
465 Add('rt text/vnd Add('rn-realtext
466 Add('rtf application/rtf
467 Add('rtf application/x-rtf
468 Add('rtf text/richtext
469 Add('rtx application/rtf
470 Add('rtx text/richtext
471 Add('rv video/vnd Add('rn-realvideo
472 Add('s text/x-asm
473 Add('s3m audio/s3m
474 Add('saveme application/octet-stream
475 Add('sbk application/x-tbook
476 Add('scm application/x-lotusscreencam
477 Add('scm text/x-script Add('guile
478 Add('scm text/x-script Add('scheme
479 Add('scm video/x-scm
480 Add('sdml text/plain
481 Add('sdp application/sdp
482 Add('sdp application/x-sdp
483 Add('sdr application/sounder
484 Add('sea application/sea
485 Add('sea application/x-sea
486 Add('set application/set
487 Add('sgm text/sgml
488 Add('sgm text/x-sgml
489 Add('sgml text/sgml
490 Add('sgml text/x-sgml
491 Add('sh application/x-bsh
492 Add('sh application/x-sh
493 Add('sh application/x-shar
494 Add('sh text/x-script Add('sh
495 Add('shar application/x-bsh
496 Add('shar application/x-shar
497 Add('shtml text/html
498 Add('shtml text/x-server-parsed-html
499 Add('sid audio/x-psid
500 Add('sit application/x-sit
501 Add('sit application/x-stuffit
502 Add('skd application/x-koan
503 Add('skm application/x-koan
504 Add('skp application/x-koan
505 Add('skt application/x-koan
506 Add('sl application/x-seelogo
507 Add('smi application/smil
508 Add('smil application/smil
509 Add('snd audio/basic
510 Add('snd audio/x-adpcm
511 Add('sol application/solids
512 Add('spc application/x-pkcs7-certificates
513 Add('spc text/x-speech
514 Add('spl application/futuresplash
515 Add('spr application/x-sprite
516 Add('sprite application/x-sprite
517 Add('src application/x-wais-source
518 Add('ssi text/x-server-parsed-html
519 Add('ssm application/streamingmedia
520 Add('sst application/vnd Add('ms-pki Add('certstore
521 Add('step application/step
522 Add('stl application/sla
523 Add('stl application/vnd Add('ms-pki Add('stl
524 Add('stl application/x-navistyle
525 Add('stp application/step
526 Add('sv4cpio application/x-sv4cpio
527 Add('sv4crc application/x-sv4crc
528 Add('svf image/vnd Add('dwg
529 Add('svf image/x-dwg
530 Add('svr application/x-world
531 Add('svr x-world/x-svr
532 Add('swf application/x-shockwave-flash
533 Add('t application/x-troff
534 Add('talk text/x-speech
535 Add('tar application/x-tar
536 Add('tbk application/toolbook
537 Add('tbk application/x-tbook
538 Add('tcl application/x-tcl
539 Add('tcl text/x-script Add('tcl
540 Add('tcsh text/x-script Add('tcsh
541 Add('tex application/x-tex
542 Add('texi application/x-texinfo
543 Add('texinfo application/x-texinfo
544 Add('text application/plain
545 Add('text text/plain
546 Add('tgz application/gnutar
547 Add('tgz application/x-compressed
548 Add('tif image/tiff
549 Add('tif image/x-tiff
550 Add('tiff image/tiff
551 Add('tiff image/x-tiff
552 Add('tr application/x-troff
553 Add('tsi audio/tsp-audio
554 Add('tsp application/dsptype
555 Add('tsp audio/tsplayer
556 Add('tsv text/tab-separated-values
557 Add('turbot image/florian
558 Add('txt text/plain
559 Add('uil text/x-uil
560 Add('uni text/uri-list
561 Add('unis text/uri-list
562 Add('unv application/i-deas
563 Add('uri text/uri-list
564 Add('uris text/uri-list
565 Add('ustar application/x-ustar
566 Add('ustar multipart/x-ustar
567 Add('uu application/octet-stream
568 Add('uu text/x-uuencode
569 Add('uue text/x-uuencode
570 Add('vcd application/x-cdlink
571 Add('vcs text/x-vcalendar
572 Add('vda application/vda
573 Add('vdo video/vdo
574 Add('vew application/groupwise
575 Add('viv video/vivo
576 Add('viv video/vnd Add('vivo
577 Add('vivo video/vivo
578 Add('vivo video/vnd Add('vivo
579 Add('vmd application/vocaltec-media-desc
580 Add('vmf application/vocaltec-media-file
581 Add('voc audio/voc
582 Add('voc audio/x-voc
583 Add('vos video/vosaic
584 Add('vox audio/voxware
585 Add('vqe audio/x-twinvq-plugin
586 Add('vqf audio/x-twinvq
587 Add('vql audio/x-twinvq-plugin
588 Add('vrml application/x-vrml
589 Add('vrml model/vrml
590 Add('vrml x-world/x-vrml
591 Add('vrt x-world/x-vrt
592 Add('vsd application/x-visio
593 Add('vst application/x-visio
594 Add('vsw application/x-visio
595 Add('w60 application/wordperfect6 Add('0
596 Add('w61 application/wordperfect6 Add('1
597 Add('w6w application/msword
598 Add('wav audio/wav
599 Add('wav audio/x-wav
600 Add('wb1 application/x-qpro
601 Add('wbmp image/vnd Add('wap Add('wbmp
602 Add('web application/vnd Add('xara
603 Add('wiz application/msword
604 Add('wk1 application/x-123
605 Add('wmf windows/metafile
606 Add('wml text/vnd Add('wap Add('wml
607 Add('wmlc application/vnd Add('wap Add('wmlc
608 Add('wmls text/vnd Add('wap Add('wmlscript
609 Add('wmlsc application/vnd Add('wap Add('wmlscriptc
610 Add('word application/msword
611 Add('wp application/wordperfect
612 Add('wp5 application/wordperfect
613 Add('wp5 application/wordperfect6 Add('0
614 Add('wp6 application/wordperfect
615 Add('wpd application/wordperfect
616 Add('wpd application/x-wpwin
617 Add('wq1 application/x-lotus
618 Add('wri application/mswrite
619 Add('wri application/x-wri
620 Add('wrl application/x-world
621 Add('wrl model/vrml
622 Add('wrl x-world/x-vrml
623 Add('wrz model/vrml
624 Add('wrz x-world/x-vrml
625 Add('wsc text/scriplet
626 Add('wsrc application/x-wais-source
627 Add('wtk application/x-wintalk
628 Add('xbm image/x-xbitmap
629 Add('xbm image/x-xbm
630 Add('xbm image/xbm
631 Add('xdr video/x-amt-demorun
632 Add('xgz xgl/drawing
633 Add('xif image/vnd Add('xiff
634 Add('xl application/excel
635 Add('xla application/excel
636 Add('xla application/x-excel
637 Add('xla application/x-msexcel
638 Add('xlb application/excel
639 Add('xlb application/vnd Add('ms-excel
640 Add('xlb application/x-excel
641 Add('xlc application/excel
642 Add('xlc application/vnd Add('ms-excel
643 Add('xlc application/x-excel
644 Add('xld application/excel
645 Add('xld application/x-excel
646 Add('xlk application/excel
647 Add('xlk application/x-excel
648 Add('xll application/excel
649 Add('xll application/vnd Add('ms-excel
650 Add('xll application/x-excel
651 Add('xlm application/excel
652 Add('xlm application/vnd Add('ms-excel
653 Add('xlm application/x-excel
654 Add('xls application/excel
655 Add('xls application/vnd Add('ms-excel
656 Add('xls application/x-excel
657 Add('xls application/x-msexcel
658 Add('xlt application/excel');
659 Add('xlt application/x-excel');
660 Add('xlv application/x-excel');
661 Add('xlw application/excel');
662 Add('xlw application/vnd.ms-excel');
663 Add('xlw application/x-excel');
664 Add('xlw application/x-msexcel');
665 Add('xm audio/xm');
666 Add('xml application/xml');
667 Add('xml text/xml');
668 Add('xmz xgl/movie');
669 Add('xpix application/x-vnd.ls-xpix');
670 Add('xpm image/x-xpixmap');
671 Add('xpm image/xpm');
672 Add('x-png image/png');
673 Add('xsr video/x-amt-showrun');
674 Add('xwd image/x-xwd');
675 Add('xwd image/x-xwindowdump');
676 Add('xyz chemical/x-pdb');
677 Add('z application/x-compress');
678 Add('z application/x-compressed');
679 Add('zip application/x-compressed');
680 Add('zip application/x-zip-compressed');
681 Add('zip application/zip');
682 Add('zip multipart/x-zip');
683 Add('zoo application/octet-stream');
684 Add('zsh text/x-script.zsh');
685end;
686*)
Note: See TracBrowser for help on using the repository browser.