Update mime-types list.
GitOrigin-RevId: 1e8e6599812113db3939110d1366f9ce75d79cb8
This commit is contained in:
parent
69814c72cb
commit
520363690a
|
@ -27,7 +27,7 @@ static std::pair<std::string, std::string> split(std::string s, char delimiter =
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool generate(const char *file_name, const char *from_name, const char *to_name,
|
static bool generate(const char *file_name, const char *from_name, const char *to_name,
|
||||||
const std::map<std::string, std::string> &map) {
|
const std::map<std::string, std::string> &map) {
|
||||||
// binary mode is needed for MSYS2 gperf
|
// binary mode is needed for MSYS2 gperf
|
||||||
std::ofstream out(file_name, std::ios_base::trunc | std::ios_base::binary);
|
std::ofstream out(file_name, std::ios_base::trunc | std::ios_base::binary);
|
||||||
if (!out) {
|
if (!out) {
|
||||||
|
|
|
@ -506,7 +506,6 @@ application/x-font-pcf pcf
|
||||||
application/x-font-snf snf
|
application/x-font-snf snf
|
||||||
application/x-font-ttf ttf ttc
|
application/x-font-ttf ttf ttc
|
||||||
application/x-font-type1 pfa pfb pfm afm
|
application/x-font-type1 pfa pfb pfm afm
|
||||||
application/font-woff woff
|
|
||||||
application/x-freearc arc
|
application/x-freearc arc
|
||||||
application/x-futuresplash spl
|
application/x-futuresplash spl
|
||||||
application/x-gca-compressed gca
|
application/x-gca-compressed gca
|
||||||
|
@ -589,7 +588,7 @@ application/zip zip
|
||||||
audio/adpcm adp
|
audio/adpcm adp
|
||||||
audio/basic au snd
|
audio/basic au snd
|
||||||
audio/midi mid midi kar rmi
|
audio/midi mid midi kar rmi
|
||||||
audio/mp4 mp4a
|
audio/mp4 m4a mp4a
|
||||||
audio/mpeg mpga mp2 mp2a mp3 m2a m3a
|
audio/mpeg mpga mp2 mp2a mp3 m2a m3a
|
||||||
audio/ogg oga ogg spx
|
audio/ogg oga ogg spx
|
||||||
audio/s3m s3m
|
audio/s3m s3m
|
||||||
|
@ -624,10 +623,19 @@ chemical/x-cmdf cmdf
|
||||||
chemical/x-cml cml
|
chemical/x-cml cml
|
||||||
chemical/x-csml csml
|
chemical/x-csml csml
|
||||||
chemical/x-xyz xyz
|
chemical/x-xyz xyz
|
||||||
|
font/collection ttc
|
||||||
|
font/otf otf
|
||||||
|
font/ttf ttf
|
||||||
|
font/woff woff
|
||||||
|
font/woff2 woff2
|
||||||
image/bmp bmp
|
image/bmp bmp
|
||||||
image/cgm cgm
|
image/cgm cgm
|
||||||
image/g3fax g3
|
image/g3fax g3
|
||||||
image/gif gif
|
image/gif gif
|
||||||
|
image/heic heic
|
||||||
|
image/heic-sequence heics
|
||||||
|
image/heif heif
|
||||||
|
image/heif-sequence heifs
|
||||||
image/ief ief
|
image/ief ief
|
||||||
image/jpeg jpeg jpg jpe
|
image/jpeg jpeg jpg jpe
|
||||||
image/ktx ktx
|
image/ktx ktx
|
||||||
|
@ -638,8 +646,8 @@ image/svg+xml svg svgz
|
||||||
image/tiff tiff tif
|
image/tiff tiff tif
|
||||||
image/vnd.adobe.photoshop psd
|
image/vnd.adobe.photoshop psd
|
||||||
image/vnd.dece.graphic uvi uvvi uvg uvvg
|
image/vnd.dece.graphic uvi uvvi uvg uvvg
|
||||||
image/vnd.dvb.subtitle sub
|
|
||||||
image/vnd.djvu djvu djv
|
image/vnd.djvu djvu djv
|
||||||
|
image/vnd.dvb.subtitle sub
|
||||||
image/vnd.dwg dwg
|
image/vnd.dwg dwg
|
||||||
image/vnd.dxf dxf
|
image/vnd.dxf dxf
|
||||||
image/vnd.fastbidsheet fbs
|
image/vnd.fastbidsheet fbs
|
||||||
|
@ -700,8 +708,8 @@ text/uri-list uri uris urls
|
||||||
text/vcard vcard
|
text/vcard vcard
|
||||||
text/vnd.curl curl
|
text/vnd.curl curl
|
||||||
text/vnd.curl.dcurl dcurl
|
text/vnd.curl.dcurl dcurl
|
||||||
text/vnd.curl.scurl scurl
|
|
||||||
text/vnd.curl.mcurl mcurl
|
text/vnd.curl.mcurl mcurl
|
||||||
|
text/vnd.curl.scurl scurl
|
||||||
text/vnd.dvb.subtitle sub
|
text/vnd.dvb.subtitle sub
|
||||||
text/vnd.fly fly
|
text/vnd.fly fly
|
||||||
text/vnd.fmi.flexstor flx
|
text/vnd.fmi.flexstor flx
|
||||||
|
@ -715,9 +723,10 @@ text/x-asm s asm
|
||||||
text/x-c c cc cxx cpp h hh dic
|
text/x-c c cc cxx cpp h hh dic
|
||||||
text/x-fortran f for f77 f90
|
text/x-fortran f for f77 f90
|
||||||
text/x-java-source java
|
text/x-java-source java
|
||||||
|
text/x-nfo nfo
|
||||||
text/x-opml opml
|
text/x-opml opml
|
||||||
text/x-pascal p pas
|
text/x-pascal p pas
|
||||||
text/x-nfo nfo
|
text/x-php php
|
||||||
text/x-setext etx
|
text/x-setext etx
|
||||||
text/x-sfv sfv
|
text/x-sfv sfv
|
||||||
text/x-uuencode uu
|
text/x-uuencode uu
|
||||||
|
|
Loading…
Reference in New Issue
Block a user