Reputation: 1122
I am receiving the error: "Resource interpreted as Other but transferred with MIME type undefined." inside developer tools when I load my page. I'm not sure why it's doing this or how to solve it.
Wondering if anyone has any insight on how to solve this.
Thanks.
Upvotes: 8
Views: 5066
Reputation: 520
As others already said this can be caused by a few different things, but it never really matters, as long as your content is displayed fine. If not, it is probably a mime-type problem on the server side, which could be solved by adding a rule to the .htaccess file in Apache.
Upvotes: 0
Reputation: 51
If you use the Google fonts, it could happen too.
It should be a problem of Web Inspector does not recognize application/x-font-woff
as a valid mime-type.
Upvotes: 3
Reputation: 21
There seems to be an issue with empty image requests, e.g.
<img src="" />
or in an external/inline stylesheet
background:url();
They generate an additional request for the current url (or css file) with the wrong mime type(image).
As I found out, the latter one disables the live-css-editing features of the chrome dev tools.
Upvotes: 1
Reputation: 1767
Good question, I saw the same thing. Apparently this is a server-side issue.
Chrome says "Resource interpreted as script but transferred with MIME type text/plain.", what gives?
Upvotes: 0