Resource interpreted as other but transferred with MIME type text/html.

Posted by Zhami on Stack Overflow See other posts from Stack Overflow or by Zhami
Published on 2010-04-25T19:26:19Z Indexed on 2010/04/25 19:33 UTC
Read the original article Hit count: 256

Filed under:
|
|
|

I'm transferring fragments of HTML via Ajax. Safari (4.0.5) reports: "Resource interpreted as other but transferred with MIME type text/html."

The file name of the file I get has a .html extension. The server does set the header for this:

Content-Type:text/html

As I said, the content is a fragment of HTML, which is injected into the page (with jQuery).

The contents of the file look like:

<html>
... some valid html ...
</html>

What else might Safari need to see to make it interpret the received content as HTML?

TIA.

© Stack Overflow or respective owner

Related posts about safari

Related posts about AJAX