<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Invalid MIME type when using ArcGIS Online Basemaps in JavaScript API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/invalid-mime-type-when-using-arcgis-online/m-p/306858#M28160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I see this message in Chrome all of the time. StackOverflow says that answer requires a server fix. Another user provides a way to hide the messages while you are developing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/1549967/chrome-warning-about-static-resource-css-gif-png-js"&gt;http://stackoverflow.com/questions/1549967/chrome-warning-about-static-resource-css-gif-png-js&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2012 18:29:41 GMT</pubDate>
    <dc:creator>MikeOnzay</dc:creator>
    <dc:date>2012-02-16T18:29:41Z</dc:date>
    <item>
      <title>Invalid MIME type when using ArcGIS Online Basemaps in JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/invalid-mime-type-when-using-arcgis-online/m-p/306857#M28159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When using ArcGIS Online basemaps in the JavaScript API, for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;new esri.layers.ArcGISTiledMapServiceLayer("http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer");&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An invalid MIME type is returned from the arcgis online server.&amp;nbsp; Using Chrome Developer Tools, the following warning is returned for every tile request:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Resource interpreted as Image but transferred with MIME type image/jpg: "http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/8/100/75".&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe the proper MIME type for any sort of JPEG/JPG image should be "image/jpeg", not "image/jpg".&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else experienced this issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 14:17:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/invalid-mime-type-when-using-arcgis-online/m-p/306857#M28159</guid>
      <dc:creator>JasonGreenlaw</dc:creator>
      <dc:date>2012-01-11T14:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid MIME type when using ArcGIS Online Basemaps in JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/invalid-mime-type-when-using-arcgis-online/m-p/306858#M28160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I see this message in Chrome all of the time. StackOverflow says that answer requires a server fix. Another user provides a way to hide the messages while you are developing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/1549967/chrome-warning-about-static-resource-css-gif-png-js"&gt;http://stackoverflow.com/questions/1549967/chrome-warning-about-static-resource-css-gif-png-js&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 18:29:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/invalid-mime-type-when-using-arcgis-online/m-p/306858#M28160</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2012-02-16T18:29:41Z</dc:date>
    </item>
  </channel>
</rss>

