The MIME types mechanism was originally developed for sending attachments in mail messages. Nowadays it has become a commonplace way of describing the content of a document in a way that many non e-mail client applications can understand.
This is defined as part of the HTML 4.0 standard.
Here is a list of some relevant MIME types for JavaScript programmers:
MIMEType | Description |
---|---|
* | Wildcard match everything |
*/* | Wild card match both parts separately |
application/applefile | AppleSingle file |
application/AppleLink | AppleLink Package |
application/ArcMac | PC ARChive |
application/BBEdit | ML Source |
application/binary | Application Binary Data |
application/Canvas | Canvas Drawing |
application/cdf | Channels |
application/CodeWarrior | Java Class File |
application/Compact_Pro | Compact Pro Archive |
application/DeArj | ARJ Archive |
application/DiskCopy | Apple DiskCopy Image |
application/Envoy | Envoy Document |
application/Excel | Lotus Spreadsheet r2.1 |
application/FileMaker_Pro | FileMaker Pro Database |
application/FileMaker_Pro_3 | FileMaker Pro Database |
application/Finder | OpenType Font |
application/FoxBase+ | DBase Document |
application/fractals | Fractal Image Format |
application/futuresplash | FutureSplash Player |
application/GraphicConverter | Animated NeoChrome |
application/gzip | application/gzip |
application/HexEdit | Untyped Binary Data |
application/java-archive | Java Archive |
application/JPEGView | OS/2 Bitmap |
application/mac-binhex40 | Binhex File |
application/MacAmp | MPEG-1 Layer 3 |
application/MacAnim_Viewer | DL Animation |
application/macbinary | MacBinary |
application/MacBooz | Zoo Archive |
application/MacLHA | LHArc Archive |
application/macwriteii | MacWrite Document |
application/Microsoft_Word | Word for Windows Template |
application/MoviePlayer | DV Video |
application/ms-powerpoint | application/ms-powerpoint |
application/msword | Word Document |
application/netcdf | Channels |
application/octet-stream | Binary Executable |
application/oda | ODA Document |
application/PageMaker | PageMaker 3 Document |
application/pdf | PDF File |
application/PF_Encrypt | Private File |
application/pgp-keys | PGP Key File |
application/Photoshop | PhotoShop Document |
application/PictureViewer | OS/2 Bitmap |
application/PlayerPro | 669 MOD Music |
application/postscript | PostScript File |
application/pre-encrypted | Pre-encrypted Data |
application/QuarkXpress | QuarkXpress Document |
application/Replica | Replica Document |
application/ResEdit | Resource File |
application/rtf | Rich Text Format File |
application/sdp | Session Description Protocol |
application/self-extracting | Self-Extracting Archive |
application/Self_Extracting_Archive | Self-Extracting Archive |
application/SimpleText | Apple documentation file |
application/smil | SMIL Document |
application/SoftWindows | MS-DOS Executable |
application/SoundApp | Amiga OctaMed music |
application/SoundHack | IRCAM Sound |
application/streamingmedia | Standard Streaming Metafile |
application/StuffIt | StuffIt Archive |
application/StuffIt_Expander | PackIt Archive |
application/SunTar | Unix BAR Archive |
application/vnd.fdf | Forms Data Format |
application/vnd.lotus-1-2-3 | Lotus 123 Document |
application/vnd.lotus-approach | Lotus Approach Document |
application/vnd.lotus-freelance | Lotus Freelance Document |
application/vnd.lotus-organizer | Lotus Organizer Document |
application/vnd.lotus-screencam | Lotus ScreenCam Movie |
application/vnd.lotus-wordpro | Lotus WordPro Document |
application/vnd.ms-access | Microsoft Access Database |
application/vnd.ms-excel | Excel Worksheet |
application/vnd.ms-powerpoint | PowerPoint Presentation |
application/vnd.ms-schedule | Microsoft Schedule+ Application |
application/vnd.rn-realmedia | RealMedia File |
application/vnd.rn-realplayer | RealPlayer File |
application/vnd.rn-realsystem-rjs | RealSystem Skin |
application/vnd.rn-realsystem-rmx | RealSystem Secure Media Clip |
application/vnd.rn-rn_music_package | RealJukebox Music Package |
application/vnd.rn-rsml | RealSystem ML File |
application/waf | Website Archive |
application/WordPerfect | WordPerfect PC 4.2 Doc |
application/wordperfect5.1 | WordPerfect PC 5.1 Doc |
application/x-authorware-map | Authorware |
application/x-cdf | Channels |
application/x-compress | Unix Compressed (.z) Files |
application/x-compressed | application/x-compressed |
application/x-conference | application/x-conference |
application/x-cpio | Unix CPIO Archive |
application/x-csh | C Shell Program |
application/x-director | Shockwave |
application/x-dvi | TeX DVI Document |
application/x-excel | application/x-excel |
application/x-fortezza-ckl | Compromised Key List |
application/x-gocserve | CompuServe Inbound Link to CIM 3.0 |
application/x-gtar | GNU Tape Archive |
application/x-gzip | GZIP File |
application/x-hdf | HDF Data File |
application/x-JavaScript | A .js file containing JavaScript source code |
application/x-javascript | JavaScript Program |
application/x-javascript-config | JavaScript Config |
application/x-javascript-config | JavaScript Config |
application/x-latex | LaTeX Document |
application/x-macbinary | MacBinary File |
application/x-netcdf | Channels |
application/x-ns-proxy-autoconfig | Proxy Auto-Config |
application/x-perl | Perl Program |
application/x-pkcs7-crl | Certificate Revocation List |
application/x-pkcs7-mime | PKCS7 Encrypted Data |
application/x-pkcs7-signature | PKCS7 Signature |
application/x-rtsp | Real Time Streaming Protocol |
application/x-sdp | Scalable Multicast |
application/x-sgml | SGML Document |
application/x-sh | Bourne Shell Program |
application/x-shar | Unix Shell Archive |
application/x-shockwave-flash | Shockwave Flash |
application/x-stuffit | Stuffit Archive |
application/x-tar | TAR Archive |
application/x-tcl | TCL Program |
application/x-tex | TeX Document |
application/x-texinfo | GNU TeXinfo Document |
application/x-x509-ca-cert | Certificates |
application/x-zip-compressed | Zip Compressed Data |
application/xml | HTML Document |
application/zip | ZIP Archives |
audio/aiff | AIFF Audio |
audio/basic | AU Audio |
audio/mid | MIDI |
audio/midi | MIDI |
audio/mp3 | MPEG Movie |
audio/mpeg | MPEG audio stream |
audio/mpegurl | MP3 PlayLists (.m3u,.pls) |
audio/mpg | MP3 Audio |
audio/rmf | audio/rmf |
audio/scpls | MP3 PlayLists (.m3u,.pls) |
audio/vnd.qcelp | QCP Audio |
audio/vnd.rn-realaudio | RealAudio Clip |
audio/wav | WAV Audio |
audio/x-aiff | AIFF Audio |
audio/x-midi | MIDI |
audio/x-mp3 | MPEG Movie |
audio/x-mpeg | MPEG audio stream |
audio/x-mpegurl | MP3 PlayLists (.m3u,.pls) |
audio/x-mpg | MP3 Audio |
audio/x-pn-realaudio | RealAudio |
audio/x-pn-realaudio-plugin | RealPlayer Plugin |
audio/x-rmf | audio/x-rmf |
audio/x-scpls | MP3 PlayLists (.m3u,.pls) |
audio/x-wav | WAV Audio |
image/gif | GIF Image |
image/ief | IEF image |
image/jpeg | JPEG Image |
image/pict | PICT Image |
image/png | PNG Image |
image/tiff | TIFF Image |
image/vnd.rn-realflash | RealFlash Clip |
image/vnd.rn-realpix | RealPix Clip |
image/x-bmp | Windows BMP Image |
image/x-cmu-raster | CMU Raster Image |
image/x-fits | Flexible Image Transport |
image/x-macpaint | MacPaint Image |
image/x-macpict | PICT Picture |
image/x-MS-bmp | Windows Bitmap |
image/x-pbm | Portable Bitmap |
image/x-pgm | Portable Graymap |
image/x-photo-cd | PhotoCD Image |
image/x-photoshop | Photoshop Image |
image/x-pict | PICT Image |
image/x-png | PNG Image |
image/x-portable-anymap | PBM Image |
image/x-portable-bitmap | Portable Bitmap |
image/x-portable-graymap | Portable Graymap |
image/x-portable-pixmap | Portable Pixmap |
image/x-ppm | Portable Pixmap |
image/x-quicktime | QuickTime Image |
image/x-rgb | SGI Image |
image/x-sgi | SGI Image |
image/x-targa | Targa Truevision Image |
image/x-tiff | TIFF Image |
image/x-xbitmap | X Bitmap Image |
image/x-xbm | X-Windows Bitmap |
image/x-xpixmap | X-Windows Pixmap |
image/x-xpm | X-Windows Pixmap |
image/x-xwd | X-Windows Dump |
image/x-xwindowdump | X Window Dump Image |
image/xbitmap | X Bitmap Image |
image/xbm | X Bitmap Image |
message/external-body | URL Bookmark |
Netscape/Source | Special file type |
Netscape/Telnet | Netscape Telnet session |
Netscape/tn3270 | Netscape TN3270 session |
text/cdf | Channels |
text/css | Text File |
text/html | An HTML document. |
text/JavaScript | Text formatted JavaScript source code inside a <SCRIPT> block |
text/Jscript | Text formatted JScript source code inside a <SCRIPT> block |
text/plain | Form content and other plain text documents |
text/url | URL File |
text/vbs | Text formatted VBScript source code inside a <SCRIPT> block |
text/vbscript | Text formatted VBScript source code inside a <SCRIPT> block |
text/vnd.rn-realtext | RealText Clip |
text/x-cdf | Channels |
text/x-vcard | Visiting Card |
text/xml | HTML Document |
undefined | UUEncoded Data |
video/avi | Microsoft Video |
video/flc | FLC Animation |
video/mpeg | MPEG video/audio stream |
video/msvideo | Microsoft Video |
video/quicktime | QuickTime Movie |
video/vnd.rn-realvideo | RealVideo Clip |
video/x-mpeg | MPEG video/audio stream |
video/x-mpeg2 | MPEG2 Video |
video/x-msvideo | Microsoft Video |
video/x-qtc | video/x-qtc |
x-world/x-3dmf | QuickDraw 3D File |
x-world/x-vrml | VRML File |
MIME stands for Multi-part Internet Mail Extension but its usefulness has gone way beyond the scope of a simple extension to the mail protocols.
Prev | Home | Next |
Microsoft TV | Up | MimeType object |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |