MIME-Typen
Mime(Multipurpose Internet Mail Extensions)-Typen dienen zur Angabe von Dateitypen. Das ist notwendig, da längst nicht alle Betriebssysteme mit Dateiendungen arbeiten. Selbst bei Windows sind die Endungen nicht immer eindeutig. Die korrekte Angabe des mime-types, etwa bei der Übetragung von Formulardaten oder dem Einsatz von Multimedia-Objekten, sorgt für eine einwandfreie Übertragung und Darstellung. Andernfalls werden z.B. Sonderzeichen codiert oder Inhalte gar nicht wiedergegeben.
Ein Beispiel für die Verwendung gibt es hier auch.
Hier eine Liste wichtiger Dateiendungen und der dazugehörigen mime-types:
Endung | www/mime | Beschreibung |
doc dot | application/msword | MS-Word-Dateien |
ppt ppz pps pot | application/mspowerpoint | MS-Powerpoint-Dateien |
xls xla | application/msexcel | MS-Excel-Dateien |
hlp chm | application/mshelp | MS-Windows-Hilfe-Dateien |
com | application/octet-stream | Ausführbare Dateien bzw. Programmcode-Dateien |
exe | application/octet-stream | Ausführbare Dateien |
dll | application/octet-stream | Programmcode-Dateien |
class | application/octet-stream | Programmcode-Dateien |
bin | application/octet-stream | Uninterpreted binary |
oda | application/oda | |
application/pdf | PDF-Dateien | |
ai | application/postscript | 8bit |
PS | application/postscript | 8bit |
eps | application/postscript | 8bit |
ps | application/postscript | 8bit |
rtf | application/x-rtf | |
rtf | application/rtf | RTF-Dateien (Microsoft) |
csh | application/x-csh | C-shell script |
dvi | application/x-dvi | TeX dvi (Unix) |
hdf | application/x-hdf | NCSA HDF Data File |
ustar | application/x-ustar | tar-Archivdatei (Posix) |
latex | application/x-latex | LaTeX-Quelldatei (Unix) |
mif | application/x-mif | Maker Interchange Format (Adobe FrameMaker Unix) |
mif | application/mif | Maker Interchange Format (Adobe FrameMaker) |
nc | application/x-netcdf | Unidata netCDF data |
cdf | application/x-netcdf | |
sh | application/x-sh | Bourne Shell-script |
tar | application/x-tar | tar-Archivdatei (Unix) |
tcl | application/x-tcl | TCL-script |
tex | application/x-tex | |
texi | application/x-texinfo | |
texinfo | application/x-texinfo | |
t | application/x-troff | |
roff | application/x-troff | |
tr | application/x-troff | |
man | application/x-troff-man | |
me | application/x-troff-me | |
ms | application/x-troff-ms | |
src | application/x-wais-source | |
bcpio | application/x-bcpip | Old binary CPIO |
cpio | application/x-cpio | CPIO |
gtar | application/x-gtar | |
shar | application/x-shar | Shell-Archiv-Datei (Unix) |
sv4cpio | application/x-sv4cpio | |
sv4crc | application/x-sv4crc | SVR4 CPIO with CRC |
application/x-www-form-urlencoded | HTML-Formulardaten an CGI | |
CAE-Sektion | ||
igs | application/iges | IGES Graphics format |
iges | application/iges | |
IGS | application/iges | |
IGES | application/iges | |
stp | application/STEP | ISO-10303 STEP |
STP | application/STEP | |
step | application/STEP | |
STEP | application/STEP | |
dxf | application/dxf | DXF (AUTODESK) |
DXF | application/dxf | |
vda | application/vda | VDA-FS Surface data |
VDA | application/vda | |
set | application/set | |
SET | application/set | |
stl | application/SLA | Stereolithography |
STL | application/SLA | |
dwg | application/acad | Autocad drawing files |
DWG | application/acad | |
SOL | application/solids | MATRA Prelude solids |
DRW | application/drafting | Prelude Drafting |
prt | application/pro_eng | PTC Pro/ENGINEER part |
PRT | application/pro_eng | |
unv | application/i-deas | SDRC I-DEAS files |
UNV | application/i-deas | |
CCAD | application/clariscad | ClarisCAD files |
snd | audio/basic | AU-Sound-Dateien |
au | audio/basic | SND-Sound-Dateien |
aiff | audio/x-aiff | AIFF-Sound-Dateien |
aifc | audio/x-aiff | AIFF-Sound-Dateien |
aif | audio/x-aif | AIFF-Sound-Dateien |
wav | audio/x-wav | |
dus | audio/x-dspeeh | Sprach-Dateien |
cht | audio/x-dspeeh | Sprach-Dateien |
midi | audio/x-midi | MIDI-Dateien |
mid | audio/x-midi | MIDI-Dateien |
ram | audio/x-pn-realaudio | RealAudio-Dateien |
ra | audio/x-pn-realaudio | RealAudio-Dateien |
rpm | audio/x-pn-realaudio-plugin | RealAudio-Plugin-Dateien |
gif | image/gif | GIF-Grafik |
ief | image/ief | Image Exchange Format |
jpg | image/jpeg | JPEG-Grafik |
JPG | image/jpeg | JPEG-Grafik |
JPE | image/jpeg | JPEG-Grafik |
jpe | image/jpeg | JPEG-Grafik |
JPEG | image/jpeg | JPEG-Grafik |
jpeg | image/jpeg | JPEG-Grafik |
tif | image/tiff | TIFF-Grafik |
tiff | image/tiff | TIFF-Grafik |
ras | image/cmu-raster | CMU-Raster |
fh4 | image/x-freehand | Freehand-Grafik |
fh5 | image/x-freehand | Freehand-Grafik |
fhc | image/x-freehand | Freehand-Grafik |
PBM | ||
pnm | image/x-portable-anymap | PBM Anymap-Datei |
pbm | image/x-portable-bitmap | PBM Bitmap-Datei |
pgm | image/x-portable-graymap | PBM Graymap-Datei |
ppm | image/x-portable-pixmap | PBM Pixmap-Datei |
rgb | image/x-rgb | RBG-Grafik |
xbm | image/x-xbitmap | |
xpm | image/x-xpixmap | |
xwd | image/x-xwindowdump | X-Windows Dump |
html | text/html | HTML-Datei |
htm | text/html | HTML-Datei |
htmls | text/html | Server-side includes |
sgm sgml | text/x-sgml | SGML-Datei |
css | text/css | CSS-Style-Sheet-Datei |
js | text/javascript | JavaScript-Datei |
c | text/plain | C source |
h | text/plain | C headers |
C | text/plain | C++ source |
cc | text/plain | C++ source |
hh | text/plain | C++ headers |
m | text/plain | Objective-C source |
f90 | text/plain | Fortran 90 source |
txt | text/plain | Plain text |
rtx | text/richtext | MIME Richtext format |
tsv | text/tab-separated-values | Datentextdatei mit Tabulatoren als Feldtrenner |
etx | text/x-setext | Struct Enchanced Txt |
MPG | video/mpeg | MPEG Video |
mpg | video/mpeg | MPEG Video |
MPE | video/mpeg | MPEG Video |
mpe | video/mpeg | MPEG Video |
MPEG | video/mpeg | MPEG Video |
mpeg | video/mpeg | MPEG Video |
qt | video/quicktime | Quicktime-Video |
mov | video/quicktime | Quicktime-Video |
avi | video/x-msvideo | Microsoft AVI-Video |
movie | video/x-sgi-movie | Microsoft SGI-Video |
wrl | x-world/x-vrml | VRML-Dateien |
gz | multipart/x-gzip | |
zip | multipart/x-zip | |
tar | multipart/x-tar | |
ustar | multipart/x-ustar | POSIX-tar |
*.* | www/unknown | Try to guess |
* | www/unknown | Try to guess |
nur unter VMS | ||
cxx | text/plain | C++ |
for | text/plain | Fortran |
mar | text/plain | MACRO |
log | text/plain | logfiles |
com | text/plain | scripts |
sdml | text/plain | SDML |
list | text/plain | listfiles |
lst | text/plain | listfiles |
def | text/plain | definition files |
conf | text/plain | definition files |
text/plain | ohne Endung |