29 ms·
> Think about the correct mime type for WOFF 2.0 files (Google uses font/woff2. W3C recommends application/font-woff2): Heh. I'm very annoyed there is no offic
by scrollaway 11y ago
> Think about the correct mime type for WOFF 2.0 files (Google uses font/woff2. W3C recommends application/font-woff2):
Heh. I'm very annoyed there is no official MIME registry for font/. fonts and archive formats abuse the application/ registry. In decades now this hasn't changed. Pretty annoying. Maybe this will be a needed push?
- currysausage 11y agoAnd why would that be abuse?
- gsnedders 11y agoThere was a discussion about this on the IETF lists a while ago — in short, there's so much impetus against new top-level types that it's unlikely to ever happen, seemingly, and that the application type was the appropriate place for fonts to go. See the thread starting at https://www.ietf.org/mail-archive/web/apps-discuss/current/msg03447.html https://www.ietf.org/mail-archive/web/apps-discuss/current/m.... It's been the status quo for a long time now — and existing implementations are basically irrelevant (all browsers just sniff and totally ignore any type because of this mess).
- scrollaway 11y agoFascinating, thanks!