<?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: Issue with Loading WMSLayer in .NET MAUI Application: Misused Header Name 'Content-Encoding' in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1499723#M12851</link>
    <description>&lt;P&gt;Thank you for your prompt response and for identifying the issue with the "Content-Encoding" in the Vary header. I appreciate that you've logged an internal bug to address this problem.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2024 11:09:32 GMT</pubDate>
    <dc:creator>MaxPower</dc:creator>
    <dc:date>2024-07-01T11:09:32Z</dc:date>
    <item>
      <title>Issue with Loading WMSLayer in .NET MAUI Application: Misused Header Name 'Content-Encoding'</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1498154#M12825</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am experiencing an issue while trying to load a WMS layer in my .NET MAUI application using the ArcGIS Runtime SDK. The WMS layer works fine on iOS, but on Android and WinUI, I encounter the following error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Misused header name, 'Content-Encoding'. Make sure request headers are used with HttpRequestMessage, response headers with HttpResponseMessage, and content headers with HttpContent objects.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code snippet I am using to load the WMS layer:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;private async Task&amp;lt;WmsLayer&amp;gt; GetWMSLayer(WMS wMS)&lt;BR /&gt;{&lt;BR /&gt;try&lt;BR /&gt;{&lt;BR /&gt;WmsLayer myWmsLayer = new(new Uri(wMS.url), new List&amp;lt;string&amp;gt; { wMS.layername });&lt;BR /&gt;&lt;BR /&gt;await myWmsLayer.LoadAsync();&lt;BR /&gt;return myWmsLayer;&lt;BR /&gt;}&lt;BR /&gt;catch (Exception ex)&lt;BR /&gt;{&lt;BR /&gt;await Application.Current.MainPage.DisplayAlert("Error", ex.ToString(), "OK");&lt;BR /&gt;}&lt;BR /&gt;return null;&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The WMS layer URL is: &lt;A href="https://geo4.service24.rlp.de/wms/rp_dop40.fcgi" target="_blank" rel="noopener"&gt;https://geo4.service24.rlp.de/wms/rp_dop40.fcgi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Layer name: rp_dop40&lt;/P&gt;&lt;P&gt;I have ensured that all NuGet packages are up to date. However, the issue persists. Any guidance on resolving this issue would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you in advance for your assistance!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 09:19:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1498154#M12825</guid>
      <dc:creator>MaxPower</dc:creator>
      <dc:date>2024-06-27T09:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Loading WMSLayer in .NET MAUI Application: Misused Header Name 'Content-Encoding'</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1498768#M12835</link>
      <description>&lt;P&gt;Looks like this server is returning "Content-Encoding" in the Vary header which is causing some issues for our caching. I've logged an internal bug to fix this and just ignore invalid values.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 23:13:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1498768#M12835</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2024-06-27T23:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Loading WMSLayer in .NET MAUI Application: Misused Header Name 'Content-Encoding'</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1499723#M12851</link>
      <description>&lt;P&gt;Thank you for your prompt response and for identifying the issue with the "Content-Encoding" in the Vary header. I appreciate that you've logged an internal bug to address this problem.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 11:09:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1499723#M12851</guid>
      <dc:creator>MaxPower</dc:creator>
      <dc:date>2024-07-01T11:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Loading WMSLayer in .NET MAUI Application: Misused Header Name 'Content-Encoding'</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1500121#M12854</link>
      <description>&lt;P&gt;Fix was just merged and should be in v200.5&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 23:44:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1500121#M12854</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2024-07-01T23:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Loading WMSLayer in .NET MAUI Application: Misused Header Name 'Content-Encoding'</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1513777#M12919</link>
      <description>&lt;P&gt;Good news!&amp;nbsp; ArcGIS Maps SDK version 200.5.0 was just released today and issue is fixed with this release.&lt;/P&gt;&lt;P&gt;Thank you for bringing this one to our attention!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 17:16:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1513777#M12919</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2024-08-01T17:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Loading WMSLayer in .NET MAUI Application: Misused Header Name 'Content-Encoding'</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1522103#M12964</link>
      <description>&lt;P&gt;Thank you for the update! I’ve updated to ArcGIS Maps SDK version 200.5.0 and tested the WMS layer again. Unfortunately, I’m still encountering the same error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Misused header name, 'Content-Encoding'. Make sure request headers are used with HttpRequestMessage, response headers with HttpResponseMessage, and content headers with HttpContent objects."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you confirm if this fix was specifically tested with the WMS layer I’m using (URL: &lt;A href="https://geo4.service24.rlp.de/wms/rp_dop40.fcgi" target="_blank" rel="noopener"&gt;https://geo4.service24.rlp.de/wms/rp_dop40.fcgi&lt;/A&gt;, Layer name: rp_dop40)? If there’s any additional troubleshooting or configurations I should try, please let me know.&lt;/P&gt;&lt;P&gt;Thanks again for your continued support!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 09:12:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1522103#M12964</guid>
      <dc:creator>MaxPower</dc:creator>
      <dc:date>2024-08-15T09:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Loading WMSLayer in .NET MAUI Application: Misused Header Name 'Content-Encoding'</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1528095#M13007</link>
      <description>&lt;P&gt;I just retried the repro on 200.4, then upgraded to 200.5 on Maui WinUI and observed the problem go away. Could you try doing a full clean and forced rebuild, to make sure no old 200.4 assemblies are left around?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dotMorten_esri_0-1724783132687.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113653i68AF9ADEA32BC886/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dotMorten_esri_0-1724783132687.png" alt="dotMorten_esri_0-1724783132687.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 18:25:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1528095#M13007</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2024-08-27T18:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Loading WMSLayer in .NET MAUI Application: Misused Header Name 'Content-Encoding'</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1555348#M13082</link>
      <description>&lt;P&gt;Thank you for your continued support. After further testing, we noticed an additional issue with the WMS layer (&lt;A href="https://geo4.service24.rlp.de/wms/rp_dop40.fcgi" target="_blank" rel="noopener"&gt;https://geo4.service24.rlp.de/wms/rp_dop40.fcgi&lt;/A&gt;, Layer name: rp_dop40):&lt;/P&gt;&lt;P&gt;Initially, the WMS layer loads and displays on the map without any issues. However, if we replace it with a different WMS layer (such as OSM) and then attempt to reload the rp_dop40 WMS layer, the same "Misused header name, 'Content-Encoding'" error reappears.&lt;/P&gt;&lt;P&gt;It seems that the issue may persist specifically when reloading or switching back to this WMS layer. Is there any additional insight or workaround for handling this scenario?&lt;/P&gt;&lt;P&gt;Thank you for your assistance!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 08:19:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1555348#M13082</guid>
      <dc:creator>MaxPower</dc:creator>
      <dc:date>2024-11-05T08:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Loading WMSLayer in .NET MAUI Application: Misused Header Name 'Content-Encoding'</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1588453#M13329</link>
      <description>&lt;P&gt;Hey, are there any updates? Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 09:13:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issue-with-loading-wmslayer-in-net-maui/m-p/1588453#M13329</guid>
      <dc:creator>MaxPower</dc:creator>
      <dc:date>2025-02-24T09:13:25Z</dc:date>
    </item>
  </channel>
</rss>

