mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
parent
ec6cb67c5c
commit
3dd5cb439d
1 changed files with 24 additions and 3 deletions
|
@ -14,7 +14,7 @@ struct mime_type_suffix
|
|||
std::string_view mime_type;
|
||||
};
|
||||
|
||||
inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
||||
inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1235>{
|
||||
{ { "123", "application/vnd.lotus-1-2-3" },
|
||||
{ "1km", "application/vnd.1000minds.decision-model+xml" },
|
||||
{ "3dml", "text/vnd.in3d.3dml" },
|
||||
|
@ -26,6 +26,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "3mf", "model/3mf" },
|
||||
{ "7z", "application/x-7z-compressed" },
|
||||
{ "aab", "application/x-authorware-bin" },
|
||||
{ "aac", "audio/aac" },
|
||||
{ "aac", "audio/x-aac" },
|
||||
{ "aam", "application/x-authorware-map" },
|
||||
{ "aas", "application/x-authorware-seg" },
|
||||
|
@ -37,6 +38,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "acu", "application/vnd.acucobol" },
|
||||
{ "acutc", "application/vnd.acucorp" },
|
||||
{ "adp", "audio/adpcm" },
|
||||
{ "adts", "audio/aac" },
|
||||
{ "aep", "application/vnd.audiograph" },
|
||||
{ "afm", "application/x-font-type1" },
|
||||
{ "afp", "application/vnd.ibm.modcap" },
|
||||
|
@ -52,11 +54,13 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "amr", "audio/amr" },
|
||||
{ "apk", "application/vnd.android.package-archive" },
|
||||
{ "apng", "image/apng" },
|
||||
{ "apng", "image/vnd.mozilla.apng" },
|
||||
{ "appcache", "text/cache-manifest" },
|
||||
{ "application", "application/x-ms-application" },
|
||||
{ "apr", "application/vnd.lotus-approach" },
|
||||
{ "arc", "application/x-freearc" },
|
||||
{ "arj", "application/x-arj" },
|
||||
{ "asc", "application/pgp-keys" },
|
||||
{ "asc", "application/pgp-signature" },
|
||||
{ "asf", "video/x-ms-asf" },
|
||||
{ "asm", "text/x-asm" },
|
||||
|
@ -69,6 +73,8 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "atomsvc", "application/atomsvc+xml" },
|
||||
{ "atx", "application/vnd.antix.game-component" },
|
||||
{ "au", "audio/basic" },
|
||||
{ "avci", "image/avci" },
|
||||
{ "avcs", "image/avcs" },
|
||||
{ "avi", "video/x-msvideo" },
|
||||
{ "avif", "image/avif" },
|
||||
{ "aw", "application/applixware" },
|
||||
|
@ -97,6 +103,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "boz", "application/x-bzip2" },
|
||||
{ "bpk", "application/octet-stream" },
|
||||
{ "bsp", "model/vnd.valve.source.compiled-map" },
|
||||
{ "btf", "image/prs.btif" },
|
||||
{ "btif", "image/prs.btif" },
|
||||
{ "buffer", "application/octet-stream" },
|
||||
{ "bz", "application/x-bzip" },
|
||||
|
@ -163,6 +170,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "com", "application/x-msdownload" },
|
||||
{ "conf", "text/plain" },
|
||||
{ "cpio", "application/x-cpio" },
|
||||
{ "cpl", "application/cpl+xml" },
|
||||
{ "cpp", "text/x-c" },
|
||||
{ "cpt", "application/mac-compactpro" },
|
||||
{ "crd", "application/x-mscardfile" },
|
||||
|
@ -179,6 +187,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "csv", "text/csv" },
|
||||
{ "cu", "application/cu-seeme" },
|
||||
{ "curl", "text/vnd.curl" },
|
||||
{ "cwl", "application/cwl" },
|
||||
{ "cww", "application/prs.cww" },
|
||||
{ "cxt", "application/x-director" },
|
||||
{ "cxx", "text/x-c" },
|
||||
|
@ -202,6 +211,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "der", "application/x-x509-ca-cert" },
|
||||
{ "dfac", "application/vnd.dreamfactory" },
|
||||
{ "dgc", "application/x-dgc-compressed" },
|
||||
{ "dib", "image/bmp" },
|
||||
{ "dic", "text/x-c" },
|
||||
{ "dir", "application/x-director" },
|
||||
{ "dis", "application/vnd.mobius.dis" },
|
||||
|
@ -262,7 +272,6 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "eot", "application/vnd.ms-fontobject" },
|
||||
{ "eps", "application/postscript" },
|
||||
{ "epub", "application/epub+zip" },
|
||||
{ "es", "application/ecmascript" },
|
||||
{ "es3", "application/vnd.eszigno3+xml" },
|
||||
{ "esa", "application/vnd.osgi.subsystem" },
|
||||
{ "esf", "application/vnd.epson.esf" },
|
||||
|
@ -287,6 +296,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "fbs", "image/vnd.fastbidsheet" },
|
||||
{ "fcdt", "application/vnd.adobe.formscentral.fcdt" },
|
||||
{ "fcs", "application/vnd.isac.fcs" },
|
||||
{ "fdf", "application/fdf" },
|
||||
{ "fdf", "application/vnd.fdf" },
|
||||
{ "fdt", "application/fdt+xml" },
|
||||
{ "fe_launch", "application/vnd.denovo.fcselayout-link" },
|
||||
|
@ -453,6 +463,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "jpm", "video/jpm" },
|
||||
{ "jpx", "image/jpx" },
|
||||
{ "js", "application/javascript" },
|
||||
{ "js", "text/javascript" },
|
||||
{ "json", "application/json" },
|
||||
{ "json5", "application/json5" },
|
||||
{ "jsonld", "application/ld+json" },
|
||||
|
@ -563,7 +574,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "mime", "message/rfc822" },
|
||||
{ "mj2", "video/mj2" },
|
||||
{ "mjp2", "video/mj2" },
|
||||
{ "mjs", "application/javascript" },
|
||||
{ "mjs", "text/javascript" },
|
||||
{ "mk3d", "video/x-matroska" },
|
||||
{ "mka", "audio/x-matroska" },
|
||||
{ "mkd", "text/x-markdown" },
|
||||
|
@ -593,6 +604,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "mpd", "application/dash+xml" },
|
||||
{ "mpe", "video/mpeg" },
|
||||
{ "mpeg", "video/mpeg" },
|
||||
{ "mpf", "application/media-policy-dataset+xml" },
|
||||
{ "mpg", "video/mpeg" },
|
||||
{ "mpg4", "video/mp4" },
|
||||
{ "mpga", "audio/mpeg" },
|
||||
|
@ -774,6 +786,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "pqa", "application/vnd.palm" },
|
||||
{ "prc", "application/x-mobipocket-ebook" },
|
||||
{ "prc", "application/x-pilot" },
|
||||
{ "prc", "model/prc" },
|
||||
{ "pre", "application/vnd.lotus-freelance" },
|
||||
{ "prf", "application/pics-rules" },
|
||||
{ "provx", "application/provenance+xml" },
|
||||
|
@ -788,6 +801,8 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "pvb", "application/vnd.3gpp.pic-bw-var" },
|
||||
{ "pwn", "application/vnd.3m.post-it-notes" },
|
||||
{ "pya", "audio/vnd.ms-playready.media.pya" },
|
||||
{ "pyo", "model/vnd.pytha.pyox" },
|
||||
{ "pyox", "model/vnd.pytha.pyox" },
|
||||
{ "pyv", "video/vnd.ms-playready.media.pyv" },
|
||||
{ "qam", "application/vnd.epson.quickanime" },
|
||||
{ "qbo", "application/vnd.intu.qbo" },
|
||||
|
@ -1015,6 +1030,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "txf", "application/vnd.mobius.txf" },
|
||||
{ "txt", "text/plain" },
|
||||
{ "u32", "application/x-authorware-bin" },
|
||||
{ "u3d", "model/u3d" },
|
||||
{ "u8dsn", "message/global-delivery-status" },
|
||||
{ "u8hdr", "message/global-headers" },
|
||||
{ "u8mdn", "message/global-disposition-notification" },
|
||||
|
@ -1026,6 +1042,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "ulx", "application/x-glulx" },
|
||||
{ "umj", "application/vnd.umajin" },
|
||||
{ "unityweb", "application/vnd.unity" },
|
||||
{ "uo", "application/vnd.uoml+xml" },
|
||||
{ "uoml", "application/vnd.uoml+xml" },
|
||||
{ "uri", "text/uri-list" },
|
||||
{ "uris", "text/uri-list" },
|
||||
|
@ -1111,6 +1128,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "webp", "image/webp" },
|
||||
{ "wg", "application/vnd.pmi.widget" },
|
||||
{ "wgt", "application/widget" },
|
||||
{ "wif", "application/watcherinfo+xml" },
|
||||
{ "wks", "application/vnd.ms-works" },
|
||||
{ "wm", "video/x-ms-wm" },
|
||||
{ "wma", "audio/x-ms-wma" },
|
||||
|
@ -1167,8 +1185,10 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "xenc", "application/xenc+xml" },
|
||||
{ "xer", "application/patch-ops-error+xml" },
|
||||
{ "xfdf", "application/vnd.adobe.xfdf" },
|
||||
{ "xfdf", "application/xfdf" },
|
||||
{ "xfdl", "application/vnd.xfdl" },
|
||||
{ "xht", "application/xhtml+xml" },
|
||||
{ "xhtm", "application/vnd.pwg-xhtml-print+xml" },
|
||||
{ "xhtml", "application/xhtml+xml" },
|
||||
{ "xhvml", "application/xv+xml" },
|
||||
{ "xif", "image/vnd.xiff" },
|
||||
|
@ -1200,6 +1220,7 @@ inline auto constexpr mime_type_suffixes = std::array<mime_type_suffix, 1214>{
|
|||
{ "xpw", "application/vnd.intercon.formnet" },
|
||||
{ "xpx", "application/vnd.intercon.formnet" },
|
||||
{ "xsd", "application/xml" },
|
||||
{ "xsf", "application/prs.xsf+xml" },
|
||||
{ "xsl", "application/xml" },
|
||||
{ "xsl", "application/xslt+xml" },
|
||||
{ "xslt", "application/xslt+xml" },
|
||||
|
|
Loading…
Reference in a new issue