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 مساءا
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 مساءا
Fix for this was pushed about 10 minutes ago. You should be good to go using IE again.
Cheers.
رد بواسطة lonelydatum
بتاريخ أبريل 10, 2013 في 8:41 مساءا
Thank you so much Trevor! The site is expected to go live tomorrow so you timing is just perfect :)
Gar