MIME(多目的インターネットメール拡張)
白は、メディアファイルの種類であることを言って、インターネット標準のメッセージ内容の種類を説明してください。ブラウザは、そのファイルに応じて区別して、どのような形で表示するかを決定することができます。
Webサーバーによってブラウザに指示通常、HTTPプロトコルを介してメディアタイプは、より正確には、Content-Typeのことで、たとえば、表される:
Content-Typeのを:テキスト/ HTMLコンテンツの表現はスーパーでテキスト/ HTMLタイプであり、テキストファイル。
Content-Typeのを:テキスト/ HTMLコンテンツの表現はスーパーでテキスト/ HTMLタイプであり、テキストファイル。
それは一般的に始まったばかりのアプリケーション/ x軸に、クライアント自身の定義フォーマットであれば、インターネット形式で広く利用可能な通常わずか数は、MIMEタイプを取得します。HTTPでは、MIMEタイプは、Content-Typeヘッダで定義されています。
リンクします。https://www.jianshu.com/p/4b5d5dc252c3
その理由のMIMEタイプを取得します。
ボディは、ファイルアップロードのPOSTリクエストに適切なパラメータを渡す必要がある場合ので、ファイルのアップロードが行われます
ファイル拡張子MIMEタイプ名のリストによると記載されています
https://www.w3school.com.cn/media/media_mimeref.asp
https://blog.csdn.net/weixin_33734979/article/details/84582017
拡張 | タイプ/サブタイプ |
---|---|
アプリケーション/ octet-streamの | |
323 | テキスト/ H323 |
ACX | アプリケーション/インターネット・プロパティ・ストリーム |
へ | アプリケーション/追伸 |
AIF | オーディオ/ X-aiffの |
AIFC | オーディオ/ X-aiffの |
AIFF | オーディオ/ X-aiffの |
ASF | ビデオ/ X-MS-ASF |
世紀 | ビデオ/ X-MS-ASF |
ASX | ビデオ/ X-MS-ASF |
インクルード | オーディオ/ベーシック |
aviファイル | ビデオ/ X-MSVIDEO |
AXS | アプリケーション/ olescript |
低いです | text / plainの |
bcpio | アプリケーション/ X-bcpio |
置き場 | アプリケーション/ octet-streamの |
BMP | 画像/ BMP |
C | text / plainの |
ネコ | アプリケーション/ vnd.ms-pkiseccat |
CDF | アプリケーション/ X-CDF |
CER | アプリケーション/ X-X509-CA-CERT |
クラス | アプリケーション/ octet-streamの |
CLP | アプリケーション/ X-msclip |
CMX | 画像/ X-CMX |
鱈 | 画像/シスタラ |
cpioの | アプリケーション/ X-のcpio |
CRD | アプリケーション/ X-mscardfile |
CRL | アプリケーション/ PKIX-CRL |
陰極線管 | アプリケーション/ X-X509-CA-CERT |
CSH | アプリケーション/ X-CSH |
CSS | テキスト/ CSS |
DCR | アプリケーション/ X-ディレクター |
インクルード | アプリケーション/ X-X509-CA-CERT |
君 | アプリケーション/ X-ディレクター |
DLL | アプリケーション/ X-msdownload |
DMS | アプリケーション/ octet-streamの |
ドキュメント | アプリケーション/ mswordは |
ドット | アプリケーション/ mswordは |
二つ | アプリケーション/ X-DVI |
見通し | アプリケーション/ X-ディレクター |
EPS | アプリケーション/追伸 |
ETX | テキスト/ X-シーテキスト |
前夜 | アプリケーション/特使 |
EXE | アプリケーション/ octet-streamの |
微調整 | アプリケーション/フラクタル |
FLR | X-世界/ X-VRML |
GIF | 画像/ GIF |
GTAR | アプリケーション/ X-GTAR |
GZ | アプリケーション/ X-GZIP |
時間 | text / plainの |
HDF | アプリケーション/ X-HDF |
HLP | アプリケーション/ winhlp |
HQX | アプリケーション/ MAC-binhex40 |
HTA | アプリケーション/ HTA |
HTC | テキスト/ x成分 |
HTM | text / htmlの |
HTML | text / htmlの |
HTT | テキスト/ webviewhtml |
ICO | 画像/ Xアイコン |
IEF | 画像/ IEF |
III | アプリケーション/ X-iphone |
イン | アプリケーション/ X-インターネットサインアップ |
ISP | アプリケーション/ X-インターネットサインアップ |
JFIF | image/pipeg |
jpe | image/jpeg |
jpeg | image/jpeg |
jpg | image/jpeg |
js | application/x-javascript |
latex | application/x-latex |
lha | application/octet-stream |
lsf | video/x-la-asf |
lsx | video/x-la-asf |
lzh | application/octet-stream |
m13 | application/x-msmediaview |
m14 | application/x-msmediaview |
m3u | audio/x-mpegurl |
man | application/x-troff-man |
mdb | application/x-msaccess |
me | application/x-troff-me |
mht | message/rfc822 |
mhtml | message/rfc822 |
mid | audio/mid |
mny | application/x-msmoney |
mov | video/quicktime |
movie | video/x-sgi-movie |
mp2 | video/mpeg |
mp3 | audio/mpeg |
mpa | video/mpeg |
mpe | video/mpeg |
mpeg | video/mpeg |
mpg | video/mpeg |
mpp | application/vnd.ms-project |
mpv2 | video/mpeg |
ms | application/x-troff-ms |
mvb | application/x-msmediaview |
nws | message/rfc822 |
oda | application/oda |
p10 | application/pkcs10 |
p12 | application/x-pkcs12 |
p7b | application/x-pkcs7-certificates |
p7c | application/x-pkcs7-mime |
p7m | application/x-pkcs7-mime |
p7r | application/x-pkcs7-certreqresp |
p7s | application/x-pkcs7-signature |
pbm | image/x-portable-bitmap |
application/pdf | |
pfx | application/x-pkcs12 |
pgm | image/x-portable-graymap |
pko | application/ynd.ms-pkipko |
pma | application/x-perfmon |
pmc | application/x-perfmon |
pml | application/x-perfmon |
pmr | application/x-perfmon |
pmw | application/x-perfmon |
pnm | image/x-portable-anymap |
pot, | application/vnd.ms-powerpoint |
ppm | image/x-portable-pixmap |
pps | application/vnd.ms-powerpoint |
ppt | application/vnd.ms-powerpoint |
prf | application/pics-rules |
ps | application/postscript |
pub | application/x-mspublisher |
qt | video/quicktime |
ra | audio/x-pn-realaudio |
ram | audio/x-pn-realaudio |
ras | image/x-cmu-raster |
rgb | image/x-rgb |
rmi | audio/mid |
roff | application/x-troff |
rtf | application/rtf |
rtx | text/richtext |
scd | application/x-msschedule |
sct | text/scriptlet |
setpay | application/set-payment-initiation |
setreg | application/set-registration-initiation |
sh | application/x-sh |
shar | application/x-shar |
sit | application/x-stuffit |
snd | audio/basic |
spc | application/x-pkcs7-certificates |
spl | application/futuresplash |
src | application/x-wais-source |
sst | application/vnd.ms-pkicertstore |
stl | application/vnd.ms-pkistl |
stm | text/html |
svg | image/svg+xml |
sv4cpio | application/x-sv4cpio |
sv4crc | application/x-sv4crc |
swf | application/x-shockwave-flash |
t | application/x-troff |
tar | application/x-tar |
tcl | application/x-tcl |
tex | application/x-tex |
texi | application/x-texinfo |
texinfo | application/x-texinfo |
tgz | application/x-compressed |
tif | image/tiff |
tiff | image/tiff |
tr | application/x-troff |
trm | application/x-msterminal |
tsv | text/tab-separated-values |
txt | text/plain |
uls | text/iuls |
ustar | application/x-ustar |
vcf | text/x-vcard |
vrml | x-world/x-vrml |
wav | audio/x-wav |
wcm | application/vnd.ms-works |
wdb | application/vnd.ms-works |
wks | application/vnd.ms-works |
wmf | application/x-msmetafile |
wps | application/vnd.ms-works |
wri | application/x-mswrite |
wrl | x-world/x-vrml |
wrz | x-world/x-vrml |
xaf | x-world/x-vrml |
xbm | image/x-xbitmap |
xla | application/vnd.ms-excel |
xlc | application/vnd.ms-excel |
xlm | application/vnd.ms-excel |
xls | application/vnd.ms-excel |
xlt | application/vnd.ms-excel |
xlw | application/vnd.ms-excel |
xof | x-world/x-vrml |
xpm | image/x-xpixmap |
xwd | image/x-xwindowdump |
z | application/x-compress |
zip | application/zip |