documentcloud/jammit — pull request #220 by macreery (2012-02-22 15:42:10+00:00)
Title: Use (more) authoritative MIME types so that embedded .woff and .ttf don't raise warnings in WebKit Web Inspector

In recent versions of WebKit, .woff fonts transferred with type font/woff (and .ttf fonts transferred with type font/truetype) raise warnings like the following in Web Inspector:
https://img.skitch.com/20120222-rcfx7t37cew21119cjq6mqjkqs.png

This "bug" is documented in Chromium's issue tracker:
http://code.google.com/p/chromium/issues/detail?id=70283

But per the [WOFF file format](http://www.w3.org/TR/WOFF/#appendix-b), application/x-font-woff is the appropriate type here. (Same for application/x-font-ttf; in general, font/* is not a valid MIME type, but I haven't touched font/opentype because WebKit treats that as a valid MIME type for some reason.