Skip to content

MIME type support status

罗泽轩 edited this page Jul 22, 2017 · 4 revisions

Not all MIME types have recognizable pattern. Some MIME types require double-check. For example, to detect if the MIME type of given data is application/json, you need to:

  1. check whether its MIME type is text/plain or not with our API.

  2. make sure the data is not too large.

  3. try to decode it as json.


Currently supported mime types:

Extension

MIME Type

application/octet-stream

.ogx

application/ogg

.pdf

application/pdf

.ps

application/postscript

.7z

application/x-7z-compressed

.bz

application/x-bzip

.bz2

application/x-bzip2

.gz

application/x-gzip

.rar

application/x-rar-compressed

.tar

application/x-tar

.zip

application/zip

.aiff

audio/aiff

.au

audio/basic

.mid .midi

audio/midi

.mpeg .mp3

audio/mpeg

.wav

audio/wave

.bmp

image/bmp

.gif

image/gif

.jpg .jpeg

image/jpeg

.png

image/png

.svg

image/svg+xml

.tiff

image/tiff

.ico

image/vnd.microsoft.icon

.webpn

image/webp

.htm .html

text/html

text/plain

.xml

text/xml

.mp4

video/mp4

.webm

video/webm

.avi

video/x-msvideo, video/avi

Clone this wiki locally