I have a problem loading json resource from local rails application using jQuery 1.4.4
json is valid (based on jsonlint.com) and I can download it correctly if I request it from other sources.
In webkit (Safari), I got this error:
Failed to load resource: cancelled
Firebug response header:
Content-Type application/json; charset=utf-8 Set-Cookie geoloc=toulouse; path=/; Connection close Server thin 1.2.7 codename No Hup
JQuery code to download json:
$.getJSON("http://127.0.0.1/search_agenda", {'edition': edition, 'categories': categories}, function(data){ console.log(data); } });
source share