https://bugzilla.wikimedia.org/show_bug.cgi?id=25346
--- Comment #5 from Roan Kattouw <roan.katt...@gmail.com> 2010-09-29 15:21:22 UTC --- (In reply to comment #4) > ticket collision: > > > It's not JSON though is it ? I mean it has "Geo =" that makes it JS, much like > JSONP is just javascript. > application/json should only be used icw. XMLHTTPRequest objects I think. This is the right application, comment #2 and comment #3 are wrong. text/javascript is the MIME type for executable JS. JSONP is really just executable JS that does something (call a function or set a variable) with inlined JSON data. application/json is the MIME type for data encoded as JSON. By itself, this is valid JS, but executing it doesn't do much. This is used by XHR (i.e. normal same-domain AJAX) to grab JSON data that is then parsed (not executed!). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l