From 9c6aad83a509cb9dc72cacf17a54281326dd9ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Colombaro?= Date: Thu, 7 Dec 2017 16:43:03 +0100 Subject: [PATCH] web fonts mime types rfc8081 --- mime.types | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/mime.types b/mime.types index 68ad662..a9e7011 100644 --- a/mime.types +++ b/mime.types @@ -73,20 +73,12 @@ types { # Web fonts - application/font-woff woff; - application/font-woff2 woff2; + font/woff woff; + font/woff2 woff2; application/vnd.ms-fontobject eot; - - # Browsers usually ignore the font media types and simply sniff - # the bytes to figure out the font type. - # https://mimesniff.spec.whatwg.org/#matching-a-font-type-pattern - # - # However, Blink and WebKit based browsers will show a warning - # in the console if the following font types are served with any - # other media types. - - application/x-font-ttf ttc ttf; - font/opentype otf; + font/ttf ttf; + font/collection ttc; + font/otf otf; # Other