Serve *.woff as application/x-font-woff #435

Closed
wants to merge 1 commit into from

2 participants

@johan

Since Chrome / WebKit wails about woff fonts served with content-type
application/octet-stream, use a more accurate legal MIME type instead:

http://code.google.com/p/chromium/issues/detail?id=70283#c6
http://stackoverflow.com/questions/10149659/resource-interpreted-as-font-but-transferred-with-mime-type-application-octet-st

@johan johan Update lib/rack/mime.rb
Since Chrome / WebKit wails about woff fonts served with content-type
application/octet-stream, use a more accurate legal MIME type instead:

http://code.google.com/p/chromium/issues/detail?id=70283#c6
http://stackoverflow.com/questions/10149659/resource-interpreted-as-font-but-transferred-with-mime-type-application-octet-st
802e967
@gioele

This pull request is a dupe of pull request #405. Have a look at all the comments on that issue.

@johan

Thanks; closing dup.

@johan johan closed this Oct 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment