Fix mimedb update files (#6744)

master
Harshavardhana 6 years ago committed by kannappanr
parent 9ed7fb4916
commit 3f744c0361
  1. 222
      pkg/mimedb/db.go

@ -144,6 +144,10 @@ var DB = map[string]struct {
ContentType: "application/vnd.android.package-archive", ContentType: "application/vnd.android.package-archive",
Compressible: false, Compressible: false,
}, },
"apng": {
ContentType: "image/apng",
Compressible: false,
},
"appcache": { "appcache": {
ContentType: "text/cache-manifest", ContentType: "text/cache-manifest",
Compressible: false, Compressible: false,
@ -160,6 +164,10 @@ var DB = map[string]struct {
ContentType: "application/x-freearc", ContentType: "application/x-freearc",
Compressible: false, Compressible: false,
}, },
"arj": {
ContentType: "application/x-arj",
Compressible: false,
},
"asc": { "asc": {
ContentType: "application/pgp-signature", ContentType: "application/pgp-signature",
Compressible: false, Compressible: false,
@ -220,6 +228,10 @@ var DB = map[string]struct {
ContentType: "application/vnd.airzip.filesecure.azs", ContentType: "application/vnd.airzip.filesecure.azs",
Compressible: false, Compressible: false,
}, },
"azv": {
ContentType: "image/vnd.airzip.accelerator.azv",
Compressible: false,
},
"azw": { "azw": {
ContentType: "application/vnd.amazon.ebook", ContentType: "application/vnd.amazon.ebook",
Compressible: false, Compressible: false,
@ -576,6 +588,10 @@ var DB = map[string]struct {
ContentType: "application/x-csh", ContentType: "application/x-csh",
Compressible: false, Compressible: false,
}, },
"csl": {
ContentType: "application/vnd.citationstyles.style+xml",
Compressible: false,
},
"csml": { "csml": {
ContentType: "chemical/x-csml", ContentType: "chemical/x-csml",
Compressible: false, Compressible: false,
@ -692,6 +708,10 @@ var DB = map[string]struct {
ContentType: "application/vnd.mobius.dis", ContentType: "application/vnd.mobius.dis",
Compressible: false, Compressible: false,
}, },
"disposition-notification": {
ContentType: "message/disposition-notification",
Compressible: false,
},
"dist": { "dist": {
ContentType: "application/octet-stream", ContentType: "application/octet-stream",
Compressible: false, Compressible: false,
@ -764,6 +784,10 @@ var DB = map[string]struct {
ContentType: "audio/vnd.dra", ContentType: "audio/vnd.dra",
Compressible: false, Compressible: false,
}, },
"drle": {
ContentType: "image/dicom-rle",
Compressible: false,
},
"dsc": { "dsc": {
ContentType: "text/prs.lines.tag", ContentType: "text/prs.lines.tag",
Compressible: false, Compressible: false,
@ -861,7 +885,7 @@ var DB = map[string]struct {
Compressible: false, Compressible: false,
}, },
"emf": { "emf": {
ContentType: "application/x-msmetafile", ContentType: "image/emf",
Compressible: false, Compressible: false,
}, },
"eml": { "eml": {
@ -892,6 +916,10 @@ var DB = map[string]struct {
ContentType: "application/epub+zip", ContentType: "application/epub+zip",
Compressible: false, Compressible: false,
}, },
"es": {
ContentType: "application/ecmascript",
Compressible: false,
},
"es3": { "es3": {
ContentType: "application/vnd.eszigno3+xml", ContentType: "application/vnd.eszigno3+xml",
Compressible: false, Compressible: false,
@ -928,6 +956,10 @@ var DB = map[string]struct {
ContentType: "application/exi", ContentType: "application/exi",
Compressible: false, Compressible: false,
}, },
"exr": {
ContentType: "image/aces",
Compressible: false,
},
"ext": { "ext": {
ContentType: "application/vnd.novadigm.ext", ContentType: "application/vnd.novadigm.ext",
Compressible: false, Compressible: false,
@ -1012,6 +1044,10 @@ var DB = map[string]struct {
ContentType: "application/x-xfig", ContentType: "application/x-xfig",
Compressible: false, Compressible: false,
}, },
"fits": {
ContentType: "image/fits",
Compressible: false,
},
"flac": { "flac": {
ContentType: "audio/x-flac", ContentType: "audio/x-flac",
Compressible: false, Compressible: false,
@ -1132,6 +1168,10 @@ var DB = map[string]struct {
ContentType: "application/vnd.dynageo", ContentType: "application/vnd.dynageo",
Compressible: false, Compressible: false,
}, },
"geojson": {
ContentType: "application/geo+json",
Compressible: false,
},
"gex": { "gex": {
ContentType: "application/vnd.geometry-explorer", ContentType: "application/vnd.geometry-explorer",
Compressible: false, Compressible: false,
@ -1156,6 +1196,14 @@ var DB = map[string]struct {
ContentType: "application/vnd.groove-identity-message", ContentType: "application/vnd.groove-identity-message",
Compressible: false, Compressible: false,
}, },
"glb": {
ContentType: "model/gltf-binary",
Compressible: false,
},
"gltf": {
ContentType: "model/gltf+json",
Compressible: false,
},
"gml": { "gml": {
ContentType: "application/gml+xml", ContentType: "application/gml+xml",
Compressible: false, Compressible: false,
@ -1240,6 +1288,10 @@ var DB = map[string]struct {
ContentType: "application/vnd.geonext", ContentType: "application/vnd.geonext",
Compressible: false, Compressible: false,
}, },
"gz": {
ContentType: "application/gzip",
Compressible: false,
},
"h": { "h": {
ContentType: "text/x-c", ContentType: "text/x-c",
Compressible: false, Compressible: false,
@ -1268,16 +1320,36 @@ var DB = map[string]struct {
ContentType: "text/x-handlebars-template", ContentType: "text/x-handlebars-template",
Compressible: false, Compressible: false,
}, },
"hdd": {
ContentType: "application/x-virtualbox-hdd",
Compressible: false,
},
"hdf": { "hdf": {
ContentType: "application/x-hdf", ContentType: "application/x-hdf",
Compressible: false, Compressible: false,
}, },
"heic": {
ContentType: "image/heic",
Compressible: false,
},
"heics": {
ContentType: "image/heic-sequence",
Compressible: false,
},
"heif": {
ContentType: "image/heif",
Compressible: false,
},
"heifs": {
ContentType: "image/heif-sequence",
Compressible: false,
},
"hh": { "hh": {
ContentType: "text/x-c", ContentType: "text/x-c",
Compressible: false, Compressible: false,
}, },
"hjson": { "hjson": {
ContentType: "text/hjson", ContentType: "application/hjson",
Compressible: false, Compressible: false,
}, },
"hlp": { "hlp": {
@ -1484,6 +1556,10 @@ var DB = map[string]struct {
ContentType: "application/vnd.jisp", ContentType: "application/vnd.jisp",
Compressible: false, Compressible: false,
}, },
"jls": {
ContentType: "image/jls",
Compressible: false,
},
"jlt": { "jlt": {
ContentType: "application/vnd.hp-jlyt", ContentType: "application/vnd.hp-jlyt",
Compressible: false, Compressible: false,
@ -1500,6 +1576,10 @@ var DB = map[string]struct {
ContentType: "application/vnd.joost.joda-archive", ContentType: "application/vnd.joost.joda-archive",
Compressible: false, Compressible: false,
}, },
"jp2": {
ContentType: "image/jp2",
Compressible: false,
},
"jpe": { "jpe": {
ContentType: "image/jpeg", ContentType: "image/jpeg",
Compressible: false, Compressible: false,
@ -1508,10 +1588,18 @@ var DB = map[string]struct {
ContentType: "image/jpeg", ContentType: "image/jpeg",
Compressible: false, Compressible: false,
}, },
"jpf": {
ContentType: "image/jpx",
Compressible: false,
},
"jpg": { "jpg": {
ContentType: "image/jpeg", ContentType: "image/jpeg",
Compressible: false, Compressible: false,
}, },
"jpg2": {
ContentType: "image/jp2",
Compressible: false,
},
"jpgm": { "jpgm": {
ContentType: "video/jpm", ContentType: "video/jpm",
Compressible: false, Compressible: false,
@ -1524,6 +1612,10 @@ var DB = map[string]struct {
ContentType: "video/jpm", ContentType: "video/jpm",
Compressible: false, Compressible: false,
}, },
"jpx": {
ContentType: "image/jpx",
Compressible: false,
},
"js": { "js": {
ContentType: "application/javascript", ContentType: "application/javascript",
Compressible: false, Compressible: false,
@ -1556,6 +1648,10 @@ var DB = map[string]struct {
ContentType: "application/vnd.kde.karbon", ContentType: "application/vnd.kde.karbon",
Compressible: false, Compressible: false,
}, },
"keynote": {
ContentType: "application/vnd.apple.keynote",
Compressible: false,
},
"kfo": { "kfo": {
ContentType: "application/vnd.kde.kformula", ContentType: "application/vnd.kde.kformula",
Compressible: false, Compressible: false,
@ -1797,7 +1893,7 @@ var DB = map[string]struct {
Compressible: false, Compressible: false,
}, },
"markdown": { "markdown": {
ContentType: "text/x-markdown", ContentType: "text/markdown",
Compressible: false, Compressible: false,
}, },
"mathml": { "mathml": {
@ -1829,7 +1925,7 @@ var DB = map[string]struct {
Compressible: false, Compressible: false,
}, },
"md": { "md": {
ContentType: "text/x-markdown", ContentType: "text/markdown",
Compressible: false, Compressible: false,
}, },
"mdb": { "mdb": {
@ -1904,6 +2000,10 @@ var DB = map[string]struct {
ContentType: "video/mj2", ContentType: "video/mj2",
Compressible: false, Compressible: false,
}, },
"mjs": {
ContentType: "application/javascript",
Compressible: false,
},
"mk3d": { "mk3d": {
ContentType: "video/x-matroska", ContentType: "video/x-matroska",
Compressible: false, Compressible: false,
@ -2084,6 +2184,10 @@ var DB = map[string]struct {
ContentType: "application/vnd.epson.msf", ContentType: "application/vnd.epson.msf",
Compressible: false, Compressible: false,
}, },
"msg": {
ContentType: "application/vnd.ms-outlook",
Compressible: false,
},
"msh": { "msh": {
ContentType: "model/mesh", ContentType: "model/mesh",
Compressible: false, Compressible: false,
@ -2220,6 +2324,10 @@ var DB = map[string]struct {
ContentType: "application/vnd.nitf", ContentType: "application/vnd.nitf",
Compressible: false, Compressible: false,
}, },
"numbers": {
ContentType: "application/vnd.apple.numbers",
Compressible: false,
},
"nzb": { "nzb": {
ContentType: "application/x-nzb", ContentType: "application/x-nzb",
Compressible: false, Compressible: false,
@ -2337,7 +2445,7 @@ var DB = map[string]struct {
Compressible: false, Compressible: false,
}, },
"org": { "org": {
ContentType: "application/vnd.lotus-organizer", ContentType: "text/x-org",
Compressible: false, Compressible: false,
}, },
"osf": { "osf": {
@ -2353,7 +2461,7 @@ var DB = map[string]struct {
Compressible: false, Compressible: false,
}, },
"otf": { "otf": {
ContentType: "font/opentype", ContentType: "font/otf",
Compressible: false, Compressible: false,
}, },
"otg": { "otg": {
@ -2380,6 +2488,18 @@ var DB = map[string]struct {
ContentType: "application/vnd.oasis.opendocument.text-template", ContentType: "application/vnd.oasis.opendocument.text-template",
Compressible: false, Compressible: false,
}, },
"ova": {
ContentType: "application/x-virtualbox-ova",
Compressible: false,
},
"ovf": {
ContentType: "application/x-virtualbox-ovf",
Compressible: false,
},
"owl": {
ContentType: "application/rdf+xml",
Compressible: false,
},
"oxps": { "oxps": {
ContentType: "application/oxps", ContentType: "application/oxps",
Compressible: false, Compressible: false,
@ -2428,6 +2548,10 @@ var DB = map[string]struct {
ContentType: "application/x-ns-proxy-autoconfig", ContentType: "application/x-ns-proxy-autoconfig",
Compressible: false, Compressible: false,
}, },
"pages": {
ContentType: "application/vnd.apple.pages",
Compressible: false,
},
"pas": { "pas": {
ContentType: "text/x-pascal", ContentType: "text/x-pascal",
Compressible: false, Compressible: false,
@ -2668,6 +2792,10 @@ var DB = map[string]struct {
ContentType: "application/pskc+xml", ContentType: "application/pskc+xml",
Compressible: false, Compressible: false,
}, },
"pti": {
ContentType: "image/prs.pti",
Compressible: false,
},
"ptid": { "ptid": {
ContentType: "application/vnd.pvi.ptid1", ContentType: "application/vnd.pvi.ptid1",
Compressible: false, Compressible: false,
@ -2744,6 +2872,10 @@ var DB = map[string]struct {
ContentType: "audio/x-pn-realaudio", ContentType: "audio/x-pn-realaudio",
Compressible: false, Compressible: false,
}, },
"raml": {
ContentType: "application/raml+yaml",
Compressible: false,
},
"rar": { "rar": {
ContentType: "application/x-rar-compressed", ContentType: "application/x-rar-compressed",
Compressible: false, Compressible: false,
@ -3028,6 +3160,10 @@ var DB = map[string]struct {
ContentType: "application/x-shar", ContentType: "application/x-shar",
Compressible: false, Compressible: false,
}, },
"shex": {
ContentType: "text/shex",
Compressible: false,
},
"shf": { "shf": {
ContentType: "application/shf+xml", ContentType: "application/shf+xml",
Compressible: false, Compressible: false,
@ -3328,6 +3464,10 @@ var DB = map[string]struct {
ContentType: "application/x-t3vm-image", ContentType: "application/x-t3vm-image",
Compressible: false, Compressible: false,
}, },
"t38": {
ContentType: "image/t38",
Compressible: false,
},
"taglet": { "taglet": {
ContentType: "application/vnd.mynfc", ContentType: "application/vnd.mynfc",
Compressible: false, Compressible: false,
@ -3336,6 +3476,10 @@ var DB = map[string]struct {
ContentType: "application/vnd.tao.intent-module-archive", ContentType: "application/vnd.tao.intent-module-archive",
Compressible: false, Compressible: false,
}, },
"tap": {
ContentType: "image/vnd.tencent.tap",
Compressible: false,
},
"tar": { "tar": {
ContentType: "application/x-tar", ContentType: "application/x-tar",
Compressible: false, Compressible: false,
@ -3384,6 +3528,10 @@ var DB = map[string]struct {
ContentType: "application/x-tex-tfm", ContentType: "application/x-tex-tfm",
Compressible: false, Compressible: false,
}, },
"tfx": {
ContentType: "image/tiff-fx",
Compressible: false,
},
"tga": { "tga": {
ContentType: "image/x-tga", ContentType: "image/x-tga",
Compressible: false, Compressible: false,
@ -3445,11 +3593,11 @@ var DB = map[string]struct {
Compressible: false, Compressible: false,
}, },
"ttc": { "ttc": {
ContentType: "application/x-font-ttf", ContentType: "font/collection",
Compressible: false, Compressible: false,
}, },
"ttf": { "ttf": {
ContentType: "application/x-font-ttf", ContentType: "font/ttf",
Compressible: false, Compressible: false,
}, },
"ttl": { "ttl": {
@ -3480,6 +3628,22 @@ var DB = map[string]struct {
ContentType: "application/x-authorware-bin", ContentType: "application/x-authorware-bin",
Compressible: false, Compressible: false,
}, },
"u8dsn": {
ContentType: "message/global-delivery-status",
Compressible: false,
},
"u8hdr": {
ContentType: "message/global-headers",
Compressible: false,
},
"u8mdn": {
ContentType: "message/global-disposition-notification",
Compressible: false,
},
"u8msg": {
ContentType: "message/global",
Compressible: false,
},
"udeb": { "udeb": {
ContentType: "application/x-debian-package", ContentType: "application/x-debian-package",
Compressible: false, Compressible: false,
@ -3644,6 +3808,14 @@ var DB = map[string]struct {
ContentType: "application/vnd.dece.zip", ContentType: "application/vnd.dece.zip",
Compressible: false, Compressible: false,
}, },
"vbox": {
ContentType: "application/x-virtualbox-vbox",
Compressible: false,
},
"vbox-extpack": {
ContentType: "application/x-virtualbox-vbox-extpack",
Compressible: false,
},
"vcard": { "vcard": {
ContentType: "text/vcard", ContentType: "text/vcard",
Compressible: false, Compressible: false,
@ -3668,6 +3840,14 @@ var DB = map[string]struct {
ContentType: "application/vnd.vcx", ContentType: "application/vnd.vcx",
Compressible: false, Compressible: false,
}, },
"vdi": {
ContentType: "application/x-virtualbox-vdi",
Compressible: false,
},
"vhd": {
ContentType: "application/x-virtualbox-vhd",
Compressible: false,
},
"vis": { "vis": {
ContentType: "application/vnd.visionary", ContentType: "application/vnd.visionary",
Compressible: false, Compressible: false,
@ -3676,6 +3856,10 @@ var DB = map[string]struct {
ContentType: "video/vnd.vivo", ContentType: "video/vnd.vivo",
Compressible: false, Compressible: false,
}, },
"vmdk": {
ContentType: "application/x-virtualbox-vmdk",
Compressible: false,
},
"vob": { "vob": {
ContentType: "video/x-ms-vob", ContentType: "video/x-ms-vob",
Compressible: false, Compressible: false,
@ -3712,6 +3896,10 @@ var DB = map[string]struct {
ContentType: "application/vnd.visio", ContentType: "application/vnd.visio",
Compressible: false, Compressible: false,
}, },
"vtf": {
ContentType: "image/vnd.valve.source.texture",
Compressible: false,
},
"vtt": { "vtt": {
ContentType: "text/vtt", ContentType: "text/vtt",
Compressible: false, Compressible: false,
@ -3732,10 +3920,18 @@ var DB = map[string]struct {
ContentType: "application/x-doom", ContentType: "application/x-doom",
Compressible: false, Compressible: false,
}, },
"wadl": {
ContentType: "application/vnd.sun.wadl+xml",
Compressible: false,
},
"war": { "war": {
ContentType: "application/java-archive", ContentType: "application/java-archive",
Compressible: false, Compressible: false,
}, },
"wasm": {
ContentType: "application/wasm",
Compressible: false,
},
"wav": { "wav": {
ContentType: "audio/x-wav", ContentType: "audio/x-wav",
Compressible: false, Compressible: false,
@ -3813,7 +4009,7 @@ var DB = map[string]struct {
Compressible: false, Compressible: false,
}, },
"wmf": { "wmf": {
ContentType: "application/x-msmetafile", ContentType: "image/wmf",
Compressible: false, Compressible: false,
}, },
"wml": { "wml": {
@ -3845,11 +4041,11 @@ var DB = map[string]struct {
Compressible: false, Compressible: false,
}, },
"woff": { "woff": {
ContentType: "application/font-woff", ContentType: "font/woff",
Compressible: false, Compressible: false,
}, },
"woff2": { "woff2": {
ContentType: "application/font-woff2", ContentType: "font/woff2",
Compressible: false, Compressible: false,
}, },
"wpd": { "wpd": {
@ -3876,6 +4072,10 @@ var DB = map[string]struct {
ContentType: "model/vrml", ContentType: "model/vrml",
Compressible: false, Compressible: false,
}, },
"wsc": {
ContentType: "message/vnd.wfa.wsc",
Compressible: false,
},
"wsdl": { "wsdl": {
ContentType: "application/wsdl+xml", ContentType: "application/wsdl+xml",
Compressible: false, Compressible: false,

Loading…
Cancel
Save