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);
});
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de Travis Bell
pe data de 10 aprilie 2013 la ora 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.
Răspuns de Travis Bell
pe data de 10 aprilie 2013 la ora 8:39 PM
Fix for this was pushed about 10 minutes ago. You should be good to go using IE again.
Cheers.
Răspuns de lonelydatum
pe data de 10 aprilie 2013 la ora 8:41 PM
Thank you so much Trevor! The site is expected to go live tomorrow so you timing is just perfect :)
Gar