Skip to content

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

Closed
wants to merge 1 commit into from

2 participants

@johan
johan commented Sep 27, 2012

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
gioele commented Oct 4, 2012

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

@johan
johan commented Oct 5, 2012

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
Something went wrong with that request. Please try again.