Did something change in the api recently because the ajax calls from IE9 are not working. I'm getting this error message.
SEC7112: Script from http://api.themoviedb.org/3/search/movie?api_key=###&query=the&callback=jQuery18106168899305979745_1365625811059&_=1365625824236 was blocked due to mime type mismatch j-dar.ca
This is my code. It works on Chrome, safari, ff.
var queryStr = "http://api.themoviedb.org/3/search/movie?api_key=###&query=the&callback=?";
$.getJSON(queryStr, function(a){
console.log(a);
});
Не можете да откриете филм или сериал? Влезте, за да го създадете.
Искате ли да го оцените или добавите към списък?
Нямате профил?
Отговор от Travis Bell
на 10 април 2013 в 4:47 PM
Hi lonelydatum,
After Googling this IE error, I found this article. It looks like it's because the API is now sending back a
X-Content-Type-Options: nosniff
header. This must have been added in a recent framework update.I'll be pushing a fix for this later tonight/tomorrow morning. We're in the midst of some server upgrades so I can't push this live yet.
Отговор от Travis Bell
на 10 април 2013 в 8:39 PM
Fix for this was pushed about 10 minutes ago. You should be good to go using IE again.
Cheers.
Отговор от lonelydatum
на 10 април 2013 в 8:41 PM
Thank you so much Trevor! The site is expected to go live tomorrow so you timing is just perfect :)
Gar