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);
});
Non podes atopar unha película ou serie? Inicia sesión para creala.
Queres valorar ou engadir o elemento a unha listaxe?
Non es membro?
Resposta de Travis Bell
no 10 de abril do 2013 ás 4:47PM
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.
Resposta de Travis Bell
no 10 de abril do 2013 ás 8:39PM
Fix for this was pushed about 10 minutes ago. You should be good to go using IE again.
Cheers.
Resposta de lonelydatum
no 10 de abril do 2013 ás 8:41PM
Thank you so much Trevor! The site is expected to go live tomorrow so you timing is just perfect :)
Gar