Skip to content

Commit 7b3911c

Browse files
committed
Extend known MIME types
1 parent da16902 commit 7b3911c

File tree

1 file changed

+53
-3
lines changed

1 file changed

+53
-3
lines changed

mime.types

+53-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
types {
33
text/html html htm shtml;
44
text/css css;
5-
text/xml xml rss;
5+
text/xml xml;
66
image/gif gif;
77
image/jpeg jpeg jpg;
88
application/x-javascript js;
99
application/atom+xml atom;
10+
application/rss+xml rss;
1011

1112
text/mathml mml;
1213
text/plain txt;
@@ -21,8 +22,10 @@ types {
2122
image/x-jng jng;
2223
image/x-ms-bmp bmp;
2324
image/svg+xml svg svgz;
25+
image/webp webp;
2426

2527
application/java-archive jar war ear;
28+
application/json json;
2629
application/mac-binhex40 hqx;
2730
application/msword doc;
2831
application/pdf pdf;
@@ -32,6 +35,8 @@ types {
3235
application/vnd.ms-powerpoint ppt;
3336
application/vnd.wap.wmlc wmlc;
3437
application/vnd.wap.xhtml+xml xhtml;
38+
application/vnd.google-earth.kml+xml kml;
39+
application/vnd.google-earth.kmz kmz;
3540
application/x-7z-compressed 7z;
3641
application/x-cocoa cco;
3742
application/x-java-archive-diff jardiff;
@@ -49,6 +54,43 @@ types {
4954
application/x-xpinstall xpi;
5055
application/zip zip;
5156

57+
application/vnd.oasis.opendocument.chart odc;
58+
application/vnd.oasis.opendocument.chart-template otc;
59+
application/vnd.oasis.opendocument.database odb;
60+
application/vnd.oasis.opendocument.formula odf;
61+
application/vnd.oasis.opendocument.formula-template odft;
62+
application/vnd.oasis.opendocument.graphics odg;
63+
application/vnd.oasis.opendocument.graphics-template otg;
64+
application/vnd.oasis.opendocument.image odi;
65+
application/vnd.oasis.opendocument.image-template oti;
66+
application/vnd.oasis.opendocument.presentation odp;
67+
application/vnd.oasis.opendocument.presentation-template otp;
68+
application/vnd.oasis.opendocument.spreadsheet ods;
69+
application/vnd.oasis.opendocument.spreadsheet-template ots;
70+
application/vnd.oasis.opendocument.text-master otm;
71+
application/vnd.oasis.opendocument.text odt;
72+
application/vnd.oasis.opendocument.text-template ott;
73+
application/vnd.oasis.opendocument.text-web oth;
74+
application/vnd.openofficeorg.extension oxt;
75+
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx;
76+
application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx;
77+
application/vnd.openxmlformats-officedocument.presentationml.slide sldx;
78+
application/vnd.openxmlformats-officedocument.presentationml.template potx;
79+
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx;
80+
application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx;
81+
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx;
82+
application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx;
83+
application/vnd.sun.xml.calc sxc;
84+
application/vnd.sun.xml.calc.template stc;
85+
application/vnd.sun.xml.draw sxd;
86+
application/vnd.sun.xml.draw.template std;
87+
application/vnd.sun.xml.impress sxi;
88+
application/vnd.sun.xml.impress.template sti;
89+
application/vnd.sun.xml.math sxm;
90+
application/vnd.sun.xml.writer.global sxg;
91+
application/vnd.sun.xml.writer sxw;
92+
application/vnd.sun.xml.writer.template stw;
93+
5294
# Mime types for web fonts. Stolen from here:
5395
# http://seconddrawer.com.au/blog/ in part.
5496
application/x-font-ttf ttf;
@@ -61,15 +103,23 @@ types {
61103
application/octet-stream dmg;
62104
application/octet-stream iso img;
63105
application/octet-stream msi msp msm;
106+
application/octet-stream vcf;
64107

65108
audio/midi mid midi kar;
66-
audio/mpeg mp3;
109+
audio/mpeg mpga mpega mp2 mp3;
110+
audio/ogg ogg;
111+
audio/x-m4a m4a;
67112
audio/x-realaudio ra;
113+
audio/webm weba;
68114

69115
video/3gpp 3gpp 3gp;
70-
video/mpeg mpeg mpg;
116+
video/mp4 mp4;
117+
video/mpeg mpeg mpg mpe;
118+
video/ogg ogv;
71119
video/quicktime mov;
120+
video/webm webm;
72121
video/x-flv flv;
122+
video/x-m4v m4v;
73123
video/x-mng mng;
74124
video/x-ms-asf asx asf;
75125
video/x-ms-wmv wmv;

0 commit comments

Comments
 (0)