web fonts mime types rfc8081

This commit is contained in:
Léo Colombaro 2017-12-07 16:43:03 +01:00
parent 08272b63c2
commit 9c6aad83a5
1 changed files with 5 additions and 13 deletions

View File

@ -73,20 +73,12 @@ types {
# Web fonts # Web fonts
application/font-woff woff; font/woff woff;
application/font-woff2 woff2; font/woff2 woff2;
application/vnd.ms-fontobject eot; application/vnd.ms-fontobject eot;
font/ttf ttf;
# Browsers usually ignore the font media types and simply sniff font/collection ttc;
# the bytes to figure out the font type. font/otf otf;
# 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;
# Other # Other