1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

net.http.mime: execute v run vlib/net/http/mime/build.vsh to update db.v with the latest official mime types

This commit is contained in:
Delyan Angelov 2023-03-24 08:28:26 +02:00
parent 37a79624fc
commit bfb0932588
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -184,6 +184,12 @@ const (
compressible: false
charset: ''
}
'application/appinstaller': MimeType{
source: ''
extensions: ['appinstaller']
compressible: false
charset: ''
}
'application/applefile': MimeType{
source: 'iana'
extensions: []
@ -196,6 +202,18 @@ const (
compressible: false
charset: ''
}
'application/appx': MimeType{
source: ''
extensions: ['appx']
compressible: false
charset: ''
}
'application/appxbundle': MimeType{
source: ''
extensions: ['appxbundle']
compressible: false
charset: ''
}
'application/at+jwt': MimeType{
source: 'iana'
extensions: []
@ -286,6 +304,18 @@ const (
compressible: true
charset: ''
}
'application/automationml-aml+xml': MimeType{
source: 'iana'
extensions: ['aml']
compressible: true
charset: ''
}
'application/automationml-amlx+zip': MimeType{
source: 'iana'
extensions: ['amlx']
compressible: false
charset: ''
}
'application/bacnet-xdd+zip': MimeType{
source: 'iana'
extensions: []
@ -496,6 +526,12 @@ const (
compressible: false
charset: ''
}
'application/concise-problem-details+cbor': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/conference-info+xml': MimeType{
source: 'iana'
extensions: []
@ -520,6 +556,12 @@ const (
compressible: false
charset: ''
}
'application/cose-x509': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/cpl+xml': MimeType{
source: 'iana'
extensions: ['cpl']
@ -790,6 +832,12 @@ const (
compressible: false
charset: ''
}
'application/emergencycalldata.legacyesn+json': MimeType{
source: 'iana'
extensions: []
compressible: true
charset: ''
}
'application/emergencycalldata.providerinfo+xml': MimeType{
source: 'iana'
extensions: []
@ -1282,6 +1330,12 @@ const (
compressible: true
charset: ''
}
'application/logout+jwt': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/lost+xml': MimeType{
source: 'iana'
extensions: ['lostxml']
@ -1560,7 +1614,7 @@ const (
}
'application/mp4': MimeType{
source: 'iana'
extensions: ['mp4s', 'm4p']
extensions: ['mp4', 'mpg4', 'mp4s', 'm4p']
compressible: false
charset: ''
}
@ -1606,6 +1660,18 @@ const (
compressible: true
charset: 'UTF-8'
}
'application/msix': MimeType{
source: ''
extensions: ['msix']
compressible: false
charset: ''
}
'application/msixbundle': MimeType{
source: ''
extensions: ['msixbundle']
compressible: false
charset: ''
}
'application/msword': MimeType{
source: 'iana'
extensions: ['doc', 'dot']
@ -2077,7 +2143,7 @@ const (
charset: ''
}
'application/remote-printing': MimeType{
source: 'iana'
source: 'apache'
extensions: []
compressible: false
charset: ''
@ -2142,6 +2208,12 @@ const (
compressible: true
charset: ''
}
'application/rpki-checklist': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/rpki-ghostbusters': MimeType{
source: 'iana'
extensions: ['gbr']
@ -2498,7 +2570,7 @@ const (
}
'application/sql': MimeType{
source: 'iana'
extensions: []
extensions: ['sql']
compressible: false
charset: ''
}
@ -2538,6 +2610,12 @@ const (
compressible: true
charset: ''
}
'application/swid+cbor': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/swid+xml': MimeType{
source: 'iana'
extensions: ['swidtag']
@ -2676,6 +2754,12 @@ const (
compressible: true
charset: ''
}
'application/tm+json': MimeType{
source: 'iana'
extensions: []
compressible: true
charset: ''
}
'application/tnauthlist': MimeType{
source: 'iana'
extensions: []
@ -2802,12 +2886,30 @@ const (
compressible: true
charset: ''
}
'application/vnd.3gpp-prose-pc3a+xml': MimeType{
source: 'iana'
extensions: []
compressible: true
charset: ''
}
'application/vnd.3gpp-prose-pc3ach+xml': MimeType{
source: 'iana'
extensions: []
compressible: true
charset: ''
}
'application/vnd.3gpp-prose-pc3ch+xml': MimeType{
source: 'iana'
extensions: []
compressible: true
charset: ''
}
'application/vnd.3gpp-prose-pc8+xml': MimeType{
source: 'iana'
extensions: []
compressible: true
charset: ''
}
'application/vnd.3gpp-v2x-local-service-information': MimeType{
source: 'iana'
extensions: []
@ -3066,6 +3168,18 @@ const (
compressible: false
charset: ''
}
'application/vnd.3gpp.seal-info+xml': MimeType{
source: 'iana'
extensions: []
compressible: true
charset: ''
}
'application/vnd.3gpp.seal-location-info+xml': MimeType{
source: 'iana'
extensions: []
compressible: true
charset: ''
}
'application/vnd.3gpp.sms': MimeType{
source: 'iana'
extensions: []
@ -3102,6 +3216,12 @@ const (
compressible: true
charset: ''
}
'application/vnd.3gpp.vae-info+xml': MimeType{
source: 'iana'
extensions: []
compressible: true
charset: ''
}
'application/vnd.3gpp2.bcmcsinfo+xml': MimeType{
source: 'iana'
extensions: []
@ -3414,6 +3534,12 @@ const (
compressible: false
charset: ''
}
'application/vnd.apexlang': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.api+json': MimeType{
source: 'iana'
extensions: []
@ -3570,6 +3696,12 @@ const (
compressible: false
charset: ''
}
'application/vnd.belightsoft.lhzl+zip': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.bint.med-content': MimeType{
source: 'iana'
extensions: []
@ -3744,6 +3876,18 @@ const (
compressible: false
charset: ''
}
'application/vnd.cncf.helm.chart.content.v1.tar+gzip': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.cncf.helm.chart.provenance.v1.prov': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.coffeescript': MimeType{
source: 'iana'
extensions: []
@ -4020,6 +4164,12 @@ const (
compressible: false
charset: ''
}
'application/vnd.datalog': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.datapackage+json': MimeType{
source: 'iana'
extensions: []
@ -4380,6 +4530,12 @@ const (
compressible: false
charset: ''
}
'application/vnd.eln+zip': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.emclient.accessrequest+xml': MimeType{
source: 'iana'
extensions: []
@ -4884,6 +5040,48 @@ const (
compressible: true
charset: ''
}
'application/vnd.gentoo.catmetadata+xml': MimeType{
source: 'iana'
extensions: []
compressible: true
charset: ''
}
'application/vnd.gentoo.ebuild': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.gentoo.eclass': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.gentoo.gpkg': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.gentoo.manifest': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.gentoo.pkgmetadata+xml': MimeType{
source: 'iana'
extensions: []
compressible: true
charset: ''
}
'application/vnd.gentoo.xpak': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.geo+json': MimeType{
source: 'apache'
extensions: []
@ -5022,6 +5220,12 @@ const (
compressible: true
charset: ''
}
'application/vnd.gpxsee.map+xml': MimeType{
source: 'iana'
extensions: []
compressible: true
charset: ''
}
'application/vnd.grafeq': MimeType{
source: 'iana'
extensions: ['gqf', 'gqs']
@ -5166,6 +5370,12 @@ const (
compressible: false
charset: ''
}
'application/vnd.hsl': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.httphone': MimeType{
source: 'iana'
extensions: []
@ -5412,6 +5622,18 @@ const (
compressible: false
charset: ''
}
'application/vnd.ipld.dag-cbor': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.ipld.dag-json': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.ipld.raw': MimeType{
source: 'iana'
extensions: []
@ -5826,6 +6048,12 @@ const (
compressible: false
charset: ''
}
'application/vnd.medicalholodeck.recordxr': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.meridian-slingshot': MimeType{
source: 'iana'
extensions: []
@ -6570,6 +6798,12 @@ const (
compressible: false
charset: ''
}
'application/vnd.oasis.opendocument.base': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.oasis.opendocument.chart': MimeType{
source: 'iana'
extensions: ['odc']
@ -6583,7 +6817,7 @@ const (
charset: ''
}
'application/vnd.oasis.opendocument.database': MimeType{
source: 'iana'
source: 'apache'
extensions: ['odb']
compressible: false
charset: ''
@ -8202,6 +8436,12 @@ const (
compressible: false
charset: ''
}
'application/vnd.smintio.portals.archive': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.snesdev-page-table': MimeType{
source: 'iana'
extensions: []
@ -8400,6 +8640,12 @@ const (
compressible: false
charset: ''
}
'application/vnd.sybyl.mol2': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.sycle+xml': MimeType{
source: 'iana'
extensions: []
@ -8778,6 +9024,12 @@ const (
compressible: false
charset: ''
}
'application/vnd.wasmflow.wafl': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.webturbo': MimeType{
source: 'iana'
extensions: ['wtb']
@ -8838,6 +9090,12 @@ const (
compressible: false
charset: ''
}
'application/vnd.wordlift': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'application/vnd.wordperfect': MimeType{
source: 'iana'
extensions: ['wpd']
@ -11377,7 +11635,7 @@ const (
charset: ''
}
'image/apng': MimeType{
source: ''
source: 'iana'
extensions: ['apng']
compressible: false
charset: ''
@ -11418,6 +11676,12 @@ const (
compressible: false
charset: ''
}
'image/dpx': MimeType{
source: 'iana'
extensions: ['dpx']
compressible: false
charset: ''
}
'image/emf': MimeType{
source: 'iana'
extensions: ['emf']
@ -11516,7 +11780,7 @@ const (
}
'image/jpm': MimeType{
source: 'iana'
extensions: ['jpm']
extensions: ['jpm', 'jpgm']
compressible: false
charset: ''
}
@ -11744,7 +12008,7 @@ const (
}
'image/vnd.mozilla.apng': MimeType{
source: 'iana'
extensions: ['apng']
extensions: []
compressible: false
charset: ''
}
@ -11839,7 +12103,7 @@ const (
charset: ''
}
'image/webp': MimeType{
source: 'apache'
source: 'iana'
extensions: ['webp']
compressible: false
charset: ''
@ -11970,6 +12234,12 @@ const (
compressible: false
charset: ''
}
'message/bhttp': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'message/cpim': MimeType{
source: 'iana'
extensions: []
@ -12120,6 +12390,12 @@ const (
compressible: false
charset: ''
}
'model/jt': MimeType{
source: 'iana'
extensions: ['jt']
compressible: false
charset: ''
}
'model/mesh': MimeType{
source: 'iana'
extensions: ['msh', 'mesh', 'silo']
@ -12180,6 +12456,12 @@ const (
compressible: false
charset: ''
}
'model/vnd.cld': MimeType{
source: 'iana'
extensions: ['cld']
compressible: false
charset: ''
}
'model/vnd.collada+xml': MimeType{
source: 'iana'
extensions: ['dae']
@ -12270,6 +12552,12 @@ const (
compressible: false
charset: ''
}
'model/vnd.usda': MimeType{
source: 'iana'
extensions: ['usda']
compressible: false
charset: ''
}
'model/vnd.usdz+zip': MimeType{
source: 'iana'
extensions: ['usdz']
@ -12552,6 +12840,12 @@ const (
compressible: false
charset: ''
}
'text/hl7v2': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'text/html': MimeType{
source: 'iana'
extensions: ['html', 'htm', 'shtml']
@ -12858,6 +13152,12 @@ const (
compressible: false
charset: 'UTF-8'
}
'text/vnd.exchangeable': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'text/vnd.familysearch.gedcom': MimeType{
source: 'iana'
extensions: ['ged']
@ -13020,6 +13320,12 @@ const (
compressible: true
charset: 'UTF-8'
}
'text/wgsl': MimeType{
source: 'iana'
extensions: ['wgsl']
compressible: false
charset: ''
}
'text/x-asm': MimeType{
source: 'apache'
extensions: ['s', 'asm']
@ -13296,6 +13602,12 @@ const (
compressible: false
charset: ''
}
'video/h266': MimeType{
source: 'iana'
extensions: []
compressible: false
charset: ''
}
'video/iso.segment': MimeType{
source: 'iana'
extensions: ['m4s']
@ -13821,7 +14133,10 @@ const (
}
ext_to_mt_str = {
'ez': 'application/andrew-inset'
'appinstaller': 'application/appinstaller'
'aw': 'application/applixware'
'appx': 'application/appx'
'appxbundle': 'application/appxbundle'
'atom': 'application/atom+xml'
'atomcat': 'application/atomcat+xml'
'atomdeleted': 'application/atomdeleted+xml'
@ -13829,6 +14144,8 @@ const (
'dwd': 'application/atsc-dwd+xml'
'held': 'application/atsc-held+xml'
'rsat': 'application/atsc-rsat+xml'
'aml': 'application/automationml-aml+xml'
'amlx': 'application/automationml-amlx+zip'
'bdoc': 'application/x-bdoc'
'xcs': 'application/calendar+xml'
'ccxml': 'application/ccxml+xml'
@ -13901,8 +14218,12 @@ const (
'mods': 'application/mods+xml'
'm21': 'application/mp21'
'mp21': 'application/mp21'
'mp4': 'video/mp4'
'mpg4': 'video/mp4'
'mp4s': 'application/mp4'
'm4p': 'application/mp4'
'msix': 'application/msix'
'msixbundle': 'application/msixbundle'
'doc': 'application/msword'
'dot': 'application/msword'
'mxf': 'application/mxf'
@ -13999,6 +14320,7 @@ const (
'smil': 'application/smil+xml'
'rq': 'application/sparql-query'
'srx': 'application/sparql-results+xml'
'sql': 'application/x-sql'
'gram': 'application/srgs'
'grxml': 'application/srgs+xml'
'sru': 'application/sru+xml'
@ -14579,7 +14901,6 @@ const (
'shar': 'application/x-shar'
'swf': 'application/x-shockwave-flash'
'xap': 'application/x-silverlight-app'
'sql': 'application/x-sql'
'sit': 'application/x-stuffit'
'sitx': 'application/x-stuffitx'
'srt': 'application/x-subrip'
@ -14711,7 +15032,7 @@ const (
'woff': 'font/woff'
'woff2': 'font/woff2'
'exr': 'image/aces'
'apng': 'image/vnd.mozilla.apng'
'apng': 'image/apng'
'avci': 'image/avci'
'avcs': 'image/avcs'
'avif': 'image/avif'
@ -14719,6 +15040,7 @@ const (
'dib': 'image/bmp'
'cgm': 'image/cgm'
'drle': 'image/dicom-rle'
'dpx': 'image/dpx'
'fits': 'image/fits'
'g3': 'image/g3fax'
'gif': 'image/gif'
@ -14738,6 +15060,7 @@ const (
'jph': 'image/jph'
'jhc': 'image/jphc'
'jpm': 'video/jpm'
'jpgm': 'video/jpm'
'jpx': 'image/jpx'
'jpf': 'image/jpx'
'jxr': 'image/jxr'
@ -14822,6 +15145,7 @@ const (
'glb': 'model/gltf-binary'
'igs': 'model/iges'
'iges': 'model/iges'
'jt': 'model/jt'
'msh': 'model/mesh'
'mesh': 'model/mesh'
'silo': 'model/mesh'
@ -14830,6 +15154,7 @@ const (
'stpz': 'model/step+zip'
'stpxz': 'model/step-xml+zip'
'u3d': 'model/u3d'
'cld': 'model/vnd.cld'
'dae': 'model/vnd.collada+xml'
'dwf': 'model/vnd.dwf'
'gdl': 'model/vnd.gdl'
@ -14841,6 +15166,7 @@ const (
'pyo': 'model/vnd.pytha.pyox'
'pyox': 'model/vnd.pytha.pyox'
'vds': 'model/vnd.sap.vds'
'usda': 'model/vnd.usda'
'usdz': 'model/vnd.usdz+zip'
'bsp': 'model/vnd.valve.source.compiled-map'
'vtu': 'model/vnd.vtu'
@ -14916,6 +15242,7 @@ const (
'wml': 'text/vnd.wap.wml'
'wmls': 'text/vnd.wap.wmlscript'
'vtt': 'text/vtt'
'wgsl': 'text/wgsl'
's': 'text/x-asm'
'asm': 'text/x-asm'
'c': 'text/x-c'
@ -14956,13 +15283,10 @@ const (
'h264': 'video/h264'
'm4s': 'video/iso.segment'
'jpgv': 'video/jpeg'
'jpgm': 'video/jpm'
'mj2': 'video/mj2'
'mjp2': 'video/mj2'
'ts': 'video/mp2t'
'mp4': 'video/mp4'
'mp4v': 'video/mp4'
'mpg4': 'video/mp4'
'mpeg': 'video/mpeg'
'mpg': 'video/mpeg'
'mpe': 'video/mpeg'