完整的 MIME 类型列表
完整的 MIME 类型列表搬运自 -> https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types
两种主要的 MIME 类型在默认类型中扮演了重要的角色:
[*]text/plain 表示文本文件的默认值。一个文本文件应当是人类可读的,并且不包含二进制数据。
[*]application/octet-stream 表示所有其他情况的默认值。一种未知的文件类型应当使用此类型。浏览器在处理这些文件时会特别小心,试图避免用户的危险行为。
IANA 是 MIME 媒体类型的官方注册机构,并维护了一个 list of all the official MIME types。
下面表格列出了 Web 上一些重要的 MIME 类型:
扩展名文档类型MIME 类型
.aacAAC audio fileaudio/aac
.abwAbiWord documentapplication/x-abiword
.arcArchive document (multiple files embedded)application/octet-stream
.aviAVI: Audio Video Interleavevideo/x-msvideo
.azwAmazon Kindle eBook formatapplication/vnd.amazon.ebook
.binAny kind of binary dataapplication/octet-stream
.bzBZip archiveapplication/x-bzip
.bz2BZip2 archiveapplication/x-bzip2
.cshC-Shell scriptapplication/x-csh
.cssCascading Style Sheets (CSS)text/css
.csvComma-separated values (CSV)text/csv
.docMicrosoft Wordapplication/msword
.epubElectronic publication (EPUB)application/epub+zip
.gifGraphics Interchange Format (GIF)image/gif
.htm
.htmlHyperText Markup Language (HTML)text/html
.icoIcon formatimage/x-icon
.icsiCalendar formattext/calendar
.jarJava Archive (JAR)application/java-archive
.jpeg
.jpgJPEG imagesimage/jpeg
.jsJavaScript (ECMAScript)application/javascript
.jsonJSON formatapplication/json
.jsonJSONP formatapplication/javascript
.mid
.midiMusical Instrument Digital Interface (MIDI)audio/midi
.mpegMPEG Videovideo/mpeg
.mpkgApple Installer Packageapplication/vnd.apple.installer+xml
.odpOpenDocuemnt presentation documentapplication/vnd.oasis.opendocument.presentation
.odsOpenDocuemnt spreadsheet documentapplication/vnd.oasis.opendocument.spreadsheet
.odtOpenDocument text documentapplication/vnd.oasis.opendocument.text
.ogaOGG audioaudio/ogg
.ogvOGG videovideo/ogg
.ogxOGGapplication/ogg
.pdfAdobe Portable Document Format (PDF)application/pdf
.pptMicrosoft PowerPointapplication/vnd.ms-powerpoint
.rarRAR archiveapplication/x-rar-compressed
.rtfRich Text Format (RTF)application/rtf
.shBourne shell scriptapplication/x-sh
.svgScalable Vector Graphics (SVG)image/svg+xml
.swfSmall web format (SWF) or Adobe Flash documentapplication/x-shockwave-flash
.tarTape Archive (TAR)application/x-tar
.tif
.tiffTagged Image File Format (TIFF)image/tiff
.ttfTrueType Fontapplication/x-font-ttf
.vsdMicrosft Visioapplication/vnd.visio
.wavWaveform Audio Formataudio/x-wav
.webaWEBM audioaudio/webm
.webmWEBM videovideo/webm
.webpWEBP imageimage/webp
.woffWeb Open Font Format (WOFF)application/x-font-woff
.xhtmlXHTMLapplication/xhtml+xml
.xlsMicrosoft Excelapplication/vnd.ms-excel
.xlsxMicrosoft Excel (OpenXML)application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xmlXMLapplication/xml
.xulXULapplication/vnd.mozilla.xul+xml
.zipZIP archiveapplication/zip
.3gp3GPP audio/video containervideo/3gpp
audio/3gpp if it doesn't contain video
.3g23GPP2 audio/video containervideo/3gpp2
audio/3gpp2 if it doesn't contain video
.7z7-zip archiveapplication/x-7z-compressed
.slx MATLAB 模型文件
所以之前的 text/css application/javascript 是 MIME types {:10_256:}{:10_256:}{:10_256:}{:10_256:}{:10_256:}{:10_256:} 棒棒棒 内容全面,已收藏 支持一波{:10_297:}
页:
[1]