Tuesday, April 24, 2012

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

Sorry if this is actual duplicate but I haven't managed to find answer for my problem.



I load the script with jQuery's $.getScript. But it causes the following error:




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




The problem appears only in Safari under Mac OS



If to look on headers received from the server, they contain Content-Type:application/x-javascript, so I really don't understand what the problem is.





No comments:

Post a Comment