3

I see support for woff2 in the Chromium source code but I don't see the mimetype registered with the IANA.

http://www.iana.org/assignments/media-types/media-types.xhtml

Think about the correct mime type for WOFF 2.0 files (Google uses font/woff2. W3C recommends application/font-woff2)

https://gist.github.com/sergejmueller/cf6b4f2133bcb3e2f64a

Am I missing something obvious or did this just not happen and people are implementing it?

Elijah Lynn
  • 12,272
  • 10
  • 61
  • 91

1 Answers1

1

The correct MIME type for .woff and .woff2 font files are font/woff and font/woff2 respectively.

It is important to note that even as application/font-woff may still have support, it has been deprecated in favour of font/woff.

References: IANA on application media type, IANA on font media type, and IETF RFC 8081.

Community
  • 1
  • 1
nyedidikeke
  • 6,899
  • 7
  • 44
  • 59