2010-12-15 06:12:17 +01:00
|
|
|
types {
|
|
|
|
|
2015-03-25 09:57:05 +01:00
|
|
|
# Data interchange
|
|
|
|
|
|
|
|
application/atom+xml atom;
|
|
|
|
application/json json map topojson;
|
|
|
|
application/ld+json jsonld;
|
|
|
|
application/rss+xml rss;
|
2018-11-23 12:56:17 +01:00
|
|
|
# Normalize to standard type.
|
|
|
|
# https://tools.ietf.org/html/rfc7946#section-12
|
|
|
|
application/geo+json geojson;
|
|
|
|
application/xml xml;
|
|
|
|
# Normalize to standard type.
|
|
|
|
# https://tools.ietf.org/html/rfc3870#section-2
|
|
|
|
application/rdf+xml rdf;
|
2015-03-25 09:57:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
# JavaScript
|
|
|
|
|
2017-12-07 16:38:00 +01:00
|
|
|
# Servers should use text/javascript for JavaScript resources.
|
|
|
|
# https://html.spec.whatwg.org/multipage/scripting.html#scriptingLanguages
|
2017-12-07 16:38:28 +01:00
|
|
|
text/javascript js mjs;
|
2019-02-10 20:32:53 +01:00
|
|
|
application/wasm wasm;
|
2015-03-25 09:57:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
# Manifest files
|
|
|
|
|
2015-04-06 21:25:22 +02:00
|
|
|
application/manifest+json webmanifest;
|
2015-03-25 09:57:05 +01:00
|
|
|
application/x-web-app-manifest+json webapp;
|
|
|
|
text/cache-manifest appcache;
|
|
|
|
|
|
|
|
|
|
|
|
# Media files
|
|
|
|
|
|
|
|
audio/midi mid midi kar;
|
|
|
|
audio/mp4 aac f4a f4b m4a;
|
|
|
|
audio/mpeg mp3;
|
|
|
|
audio/ogg oga ogg opus;
|
|
|
|
audio/x-realaudio ra;
|
|
|
|
audio/x-wav wav;
|
2017-07-16 23:56:31 +02:00
|
|
|
audio/x-matroska mka;
|
2021-01-05 10:50:52 +01:00
|
|
|
image/apng apng;
|
2021-01-05 10:43:36 +01:00
|
|
|
image/avif avif;
|
|
|
|
image/avif-sequence avifs;
|
2015-03-25 09:57:05 +01:00
|
|
|
image/bmp bmp;
|
|
|
|
image/gif gif;
|
|
|
|
image/jpeg jpeg jpg;
|
2016-08-01 02:31:53 +02:00
|
|
|
image/jxr jxr hdp wdp;
|
2015-03-25 09:57:05 +01:00
|
|
|
image/png png;
|
|
|
|
image/svg+xml svg svgz;
|
|
|
|
image/tiff tif tiff;
|
|
|
|
image/vnd.wap.wbmp wbmp;
|
|
|
|
image/webp webp;
|
|
|
|
image/x-jng jng;
|
2015-07-21 10:42:40 +02:00
|
|
|
video/3gpp 3gp 3gpp;
|
|
|
|
video/mp4 f4p f4v m4v mp4;
|
2015-03-25 09:57:05 +01:00
|
|
|
video/mpeg mpeg mpg;
|
|
|
|
video/ogg ogv;
|
|
|
|
video/quicktime mov;
|
|
|
|
video/webm webm;
|
|
|
|
video/x-flv flv;
|
|
|
|
video/x-mng mng;
|
2015-07-21 10:42:40 +02:00
|
|
|
video/x-ms-asf asf asx;
|
2015-03-25 09:57:05 +01:00
|
|
|
video/x-ms-wmv wmv;
|
|
|
|
video/x-msvideo avi;
|
2017-07-16 23:56:31 +02:00
|
|
|
video/x-matroska mkv mk3d;
|
2015-03-25 09:57:05 +01:00
|
|
|
|
|
|
|
# Serving `.ico` image files with a different media type
|
|
|
|
# prevents Internet Explorer from displaying then as images:
|
|
|
|
# https://github.com/h5bp/html5-boilerplate/commit/37b5fec090d00f38de64b591bcddcb205aadf8ee
|
|
|
|
|
|
|
|
image/x-icon cur ico;
|
|
|
|
|
|
|
|
|
|
|
|
# Microsoft Office
|
|
|
|
|
|
|
|
application/msword doc;
|
|
|
|
application/vnd.ms-excel xls;
|
|
|
|
application/vnd.ms-powerpoint ppt;
|
|
|
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx;
|
|
|
|
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx;
|
|
|
|
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx;
|
|
|
|
|
|
|
|
|
|
|
|
# Web fonts
|
|
|
|
|
2017-12-07 16:43:03 +01:00
|
|
|
font/woff woff;
|
|
|
|
font/woff2 woff2;
|
2015-03-25 09:57:05 +01:00
|
|
|
application/vnd.ms-fontobject eot;
|
2017-12-07 16:43:03 +01:00
|
|
|
font/ttf ttf;
|
|
|
|
font/collection ttc;
|
|
|
|
font/otf otf;
|
2015-03-25 09:57:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
# Other
|
|
|
|
|
2015-07-21 10:42:40 +02:00
|
|
|
application/java-archive ear jar war;
|
2015-03-25 09:57:05 +01:00
|
|
|
application/mac-binhex40 hqx;
|
|
|
|
application/octet-stream bin deb dll dmg exe img iso msi msm msp safariextz;
|
|
|
|
application/pdf pdf;
|
2015-07-21 10:42:40 +02:00
|
|
|
application/postscript ai eps ps;
|
2015-03-25 09:57:05 +01:00
|
|
|
application/rtf rtf;
|
|
|
|
application/vnd.google-earth.kml+xml kml;
|
|
|
|
application/vnd.google-earth.kmz kmz;
|
|
|
|
application/vnd.wap.wmlc wmlc;
|
|
|
|
application/x-7z-compressed 7z;
|
|
|
|
application/x-bb-appworld bbaw;
|
|
|
|
application/x-bittorrent torrent;
|
|
|
|
application/x-chrome-extension crx;
|
|
|
|
application/x-cocoa cco;
|
|
|
|
application/x-java-archive-diff jardiff;
|
|
|
|
application/x-java-jnlp-file jnlp;
|
|
|
|
application/x-makeself run;
|
|
|
|
application/x-opera-extension oex;
|
|
|
|
application/x-perl pl pm;
|
2015-07-21 10:42:40 +02:00
|
|
|
application/x-pilot pdb prc;
|
2015-03-25 09:57:05 +01:00
|
|
|
application/x-rar-compressed rar;
|
|
|
|
application/x-redhat-package-manager rpm;
|
|
|
|
application/x-sea sea;
|
|
|
|
application/x-shockwave-flash swf;
|
|
|
|
application/x-stuffit sit;
|
|
|
|
application/x-tcl tcl tk;
|
2015-07-21 10:42:40 +02:00
|
|
|
application/x-x509-ca-cert crt der pem;
|
2015-03-25 09:57:05 +01:00
|
|
|
application/x-xpinstall xpi;
|
|
|
|
application/xhtml+xml xhtml;
|
|
|
|
application/xslt+xml xsl;
|
|
|
|
application/zip zip;
|
2019-05-15 18:38:05 +02:00
|
|
|
text/calendar ics;
|
2015-03-25 09:57:05 +01:00
|
|
|
text/css css;
|
2016-08-01 02:31:53 +02:00
|
|
|
text/csv csv;
|
2015-07-21 10:42:40 +02:00
|
|
|
text/html htm html shtml;
|
2019-02-10 20:32:53 +01:00
|
|
|
text/markdown md markdown;
|
2015-03-25 09:57:05 +01:00
|
|
|
text/mathml mml;
|
|
|
|
text/plain txt;
|
|
|
|
text/vcard vcard vcf;
|
|
|
|
text/vnd.rim.location.xloc xloc;
|
|
|
|
text/vnd.sun.j2me.app-descriptor jad;
|
|
|
|
text/vnd.wap.wml wml;
|
|
|
|
text/vtt vtt;
|
|
|
|
text/x-component htc;
|
2012-11-08 10:41:24 +01:00
|
|
|
|
2012-06-14 13:05:47 +02:00
|
|
|
}
|