New issue
Advanced search Search tips
Starred by 19 users
Status: Fixed
Closed: Jan 2011
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

  • Only users with Commit permission may comment.

Sign in to add a comment
Resource interpreted as font but transferred with MIME type font/x-woff.
Reported by, Jan 20 2011 Back to list
1. View
2. Open web inspector console
3. read "Resource interpreted as font but transferred with MIME type application/octet-stream"

There seems to be no appropriate mimetype to serve a WOFF webfont file as that will not cause this error. 
 `font/woff` `font/x-woff` and `font/truetype`all cause an error message, along with the default octet-stream.

Curiously, serving it as font/opentype avoids such a warning, but that is bad practice.

Chrome should allow font/x-woff as no official woff mimetype has been decided. Or just go with font/woff
Comment 1 by, Jan 20 2011
Labels: -Area-Undefined Area-WebKit Feature-DevTools
Status: Assigned
Comment 2 by, Jan 24 2011
Status: Fixed
This landed in WebKit:
Comment 3 by, Jan 24 2011
For competency, the mime-type "application/x-font-woff" will now be recognized, as the IETF review request has not been approved yet.  This follows Appendix B of the WOFF specification.
Hi, Appendix B says application/font-woff


I just ran into this very issue. @peter can you explain further, Appendix B does appear to specify font-woff as the subtype.
Comment 6 by, Apr 28 2011
Cc: a deleted user
To cite section 2.3.1 of RFC 2048[1]: "Proposed media types are not formally registered and must not be used; the "x-" prefix specified in RFC 2045 can be used until registration is complete.".

While registration of application/font-woff has been requested[2], it has not been approved yet. Until it will be, "application/x-font-woff" is the way to go.

I'm not sure about how strict Web Inspector follows these policies, pfeldman, do you have an opinion about this?

Project Member Comment 7 by, Oct 13 2012
Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Project Member Comment 8 by, Mar 11 2013
Labels: -Area-WebKit -Feature-DevTools Cr-Platform-DevTools Cr-Content
Project Member Comment 9 by, Apr 6 2013
Labels: -Cr-Content Cr-Blink
Sign in to add a comment