motowilliams

Why aren't REST (JSON) responses using Content-Type: application/json?

Discussion created by motowilliams on Jul 1, 2010
Latest reply on Jun 25, 2018 by mggeagle-co-nz-esridist
Working with the REST API and I noticed that the content-types are not being set correctly.

As an example:
ESRI_Census_USA Sample Service:
http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer?f=json

returns:
Content-Type:text/plain;

Is there configuration or URL parameter to fix this?

Outcomes