Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.8.x] Update MIME types (backport #11406) by @PromanSEW #11465

Merged
merged 3 commits into from
Oct 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 26 additions & 13 deletions core/play/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,11 @@ play {
7z=application/x-7z-compressed
a=application/octet-stream
aab=application/x-authorware-bin
aac=audio/aac
aam=application/x-authorware-map
aas=application/x-authorware-seg
abc=text/vndabc
abw=application/x-abiword
ace=application/x-ace-compressed
acgi=text/html
afl=video/animaflex
Expand All @@ -261,9 +263,11 @@ play {
asx=application/x-mplayer2
au=audio/basic
avi=video/x-msvideo
avif=image/avif
avs=video/avs-video
azw=application/vnd.amazon.ebook
bcpio=application/x-bcpio
bin=application/mac-binary
bin=application/octet-stream
bmp=image/bmp
boo=application/book
book=application/book
Expand All @@ -278,13 +282,13 @@ play {
cc=text/x-c
ccad=application/clariscad
cco=application/x-cocoa
cda=application/x-cdf
cdf=application/cdf
cer=application/pkix-cert
cha=application/x-chat
chat=application/x-chat
chrt=application/vnd.kde.kchart
class=application/java
# ? class=application/java-vm
com=text/plain
conf=text/plain
cpio=application/x-cpio
Expand All @@ -293,7 +297,7 @@ play {
crl=application/pkcs-crl
crt=application/pkix-cert
crx=application/x-chrome-extension
csh=text/x-scriptcsh
csh=application/x-csh
csp=application/csp-report
css=text/css
csv=text/csv
Expand Down Expand Up @@ -327,6 +331,7 @@ play {
env=application/x-envoy
eot=application/vnd.ms-fontobject
eps=application/postscript
epub=application/epub+zip
es=application/x-esrehber
etx=text/x-setext
evy=application/envoy
Expand Down Expand Up @@ -354,7 +359,7 @@ play {
gsp=application/x-gsp
gss=application/x-gss
gtar=application/x-gtar
gz=application/x-compressed
gz=application/gzip
gzip=application/x-gzip
h=text/x-h
hdf=application/x-hdf
Expand Down Expand Up @@ -395,6 +400,7 @@ play {
jam=audio/x-jam
jav=text/x-java-source
java=text/x-java-source
jar=application/java-archive
jcm=application/x-java-commerce
jfif-tbnl=image/jpeg
jfif=image/jpeg
Expand All @@ -405,6 +411,7 @@ play {
jps=image/x-jps
js=application/javascript
json=application/json
jsonld=application/ld+json
jut=image/jutvision
kar=audio/midi
karbon=application/vnd.kde.karbon
Expand Down Expand Up @@ -456,6 +463,7 @@ play {
mime=message/rfc822
mjf=audio/x-vndaudioexplosionmjuicemediafile
mjpg=video/x-motion-jpeg
mjs=application/javascript
mm=application/base64
mme=application/base64
mod=audio/mod
Expand All @@ -471,6 +479,7 @@ play {
mpeg=video/mpeg
mpg=video/mpeg
mpga=audio/mpeg
mpkg=application/vnd.apple.installer+xml
mpp=application/vndms-project
mpt=application/x-project
mpv=application/x-project
Expand Down Expand Up @@ -503,11 +512,13 @@ play {
oga=audio/ogg
ogg=audio/ogg
ogv=video/ogg
ogx=video/ogg
omc=application/x-omc
omcd=application/x-omcdatamaker
omcr=application/x-omcregerator
opus=audio/opus
otc=application/vnd.oasis.opendocument.chart-template
otf=application/vnd.oasis.opendocument.formula-template
otf=font/otf
otg=application/vnd.oasis.opendocument.graphics-template
oth=application/vnd.oasis.opendocument.text-web
oti=application/vnd.oasis.opendocument.image-template
Expand All @@ -533,6 +544,7 @@ play {
pdf=application/pdf
pfunk=audio/make
pgm=image/x-portable-graymap
php=application/x-httpd-php
pic=image/pict
pict=image/pict
pkg=application/x-newton-compatible-pkg
Expand Down Expand Up @@ -602,7 +614,7 @@ play {
set=application/set
sgm=text/x-sgml
sgml=text/x-sgml
sh=text/x-scriptsh
sh=application/x-sh
shar=application/x-bsh
shtml=text/x-server-parsed-html
sid=audio/x-psid
Expand Down Expand Up @@ -649,12 +661,13 @@ play {
tif=image/tiff
tiff=image/tiff
tr=application/x-troff
ts=video/mp2t
tsi=audio/tsp-audio
tsp=application/dsptype
tsv=text/tab-separated-values
turbot=image/florian
tte=application/x-font-ttf
ttf=application/x-font-ttf
ttf=font/ttf
ttl=text/turtle
txt=text/plain
uil=text/x-uil
Expand Down Expand Up @@ -695,16 +708,18 @@ play {
wb1=application/x-qpro
wbmp=image/vnd.wap.wbmp
web=application/vndxara
weba=audio/webm
webm=video/webm
webp=image/webp
wiz=application/msword
wk1=application/x-123
wmf=windows/metafile
wml=text/vnd.wap.wml
wmlc=application/vnd.wap.wmlc
wmls=text/vnd.wap.wmlscript
wmlsc=application/vnd.wap.wmlscriptc
woff=application/font-woff
woff2=application/font-woff2
woff=font/woff
woff2=font/woff2
word=application/msword
wp5=application/wordperfect
wp6=application/wordperfect
Expand All @@ -721,6 +736,7 @@ play {
xbm=image/x-xbitmap
xdr=video/x-amt-demorun
xgz=xgl/drawing
xhtml=application/xhtml+xml
xif=image/vndxiff
xl=application/excel
xla=application/excel
Expand All @@ -741,6 +757,7 @@ play {
xpix=application/x-vndls-xpix
xpm=image/x-xpixmap
xsr=video/x-amt-showrun
xul=application/vnd.mozilla.xul+xml
xwd=image/x-xwd
xyz=chemical/x-pdb
z=application/x-compress
Expand Down Expand Up @@ -773,7 +790,6 @@ play {
onetoc2=application/onenote
onetmp=application/onenote
onepkg=application/onenote
# koffice

# iWork
key=application/x-iwork-keynote-sffkey
Expand All @@ -782,9 +798,6 @@ play {
numbers=application/x-iwork-numbers-sffnumbers
pages=application/x-iwork-pages-sffpages
template=application/x-iwork-pages-sfftemplate

# Extensions for Mozilla apps (Firefox and friends)
xpi=application/x-xpinstall
"""
}

Expand Down