#1243 closed enhancement (fixed)
Add primary media type for font
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | nginx-core | Version: | 1.11.x |
Keywords: | mime mime.types font | Cc: | |
uname -a: | |||
nginx -V: | nginx/1.11.13 |
Description
The IANA has deprecated the use of the application
MIME type for fonts in favour of a primary font
type.
Source: https://www.iana.org/assignments/media-types/media-types.xhtml#font - (In page search for "deprecated" to find the old entries).
To become compliant, the mime.types
file would have the line:
application/font-woff woff;
replaced with
font/woff woff; font/woff2 woff2;
Which additionally adds WOFF2 support as per the IANA listing. I note that Google Fonts already serves fonts with this new MIME type.
Change History (6)
comment:1 by , 8 years ago
comment:5 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
These changes will be a part of nginx 1.15.1.
Note:
See TracTickets
for help on using tickets.
IMHO, I suggest to add new mime-types and save old one for compatibility