Closed GoogleCodeExporter closed 8 years ago
This is actually a quirk of Chrome. Chrome strictly enforces the header types
it receives. When the json is requested from:
http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Cen
sus_USA/MapServer?f=json&callback=ags_jsonp.ags_jsonp0_387592
It is being returned with the following header type:
Content-Type: text/plain
Chrome requires the following:
Content-Type: application/javascript
This is purely a server side issue. If you have access to the server you are
making these calls to, you can correct the header being returned, but if you do
not, then you're out of luck with Chrome. You could check the Chrome bug list
to see if anyone has posted this as a bug/defect and request that it be handled
more gracefully.
I'm marking it as invalid as there is nothing we can do on our side to fix this.
Original comment by brett.mc...@gmail.com
on 16 Sep 2013 at 6:15
Original issue reported on code.google.com by
natev...@gmail.com
on 12 Aug 2013 at 2:35