Invalid MIME type when using ArcGIS Online Basemaps in JavaScript API

Discussion created by greenlaw on Jan 11, 2012
Latest reply on Feb 16, 2012 by monzay
When using ArcGIS Online basemaps in the JavaScript API, for example:

new esri.layers.ArcGISTiledMapServiceLayer("");

An invalid MIME type is returned from the arcgis online server.  Using Chrome Developer Tools, the following warning is returned for every tile request:

Resource interpreted as Image but transferred with MIME type image/jpg: "".

I believe the proper MIME type for any sort of JPEG/JPG image should be "image/jpeg", not "image/jpg". 

Most browsers should be smart enough to interpret the image correctly, however it's quite annoying to see these warnings stack up in the JavaScript console.

Has anyone else experienced this issue?