<?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: Interceptor - cannot add headers in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/interceptor-cannot-add-headers/m-p/1366934#M6146</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;With 200.2.0 we added support for network interceptors, but at this point only for "observational" purposes such as logging network requests. We are currently working on support for modifying network requests as part of network interception. This will be supported in one of the upcoming releases.&lt;BR /&gt;&lt;BR /&gt;Note, if you are interested in adding headers on every outgoing network request, you can currently do this with &lt;A href="https://developers.arcgis.com/kotlin/api-reference/arcgis-maps-kotlin/com.arcgismaps.httpcore/-arc-g-i-s-http-client/add-additional-request-header.html" target="_self" rel="nofollow noopener noreferrer"&gt;ArcGISHttpClient.addAdditionalRequestHeader&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;See similar discussion here &lt;A href="https://community.esri.com/t5/kotlin-maps-sdk-questions/there-is-no-way-to-modify-network-request/m-p/1325210/highlight/true#M220" target="_blank"&gt;https://community.esri.com/t5/kotlin-maps-sdk-questions/there-is-no-way-to-modify-network-request/m-p/1325210/highlight/true#M220&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jan 2024 19:12:50 GMT</pubDate>
    <dc:creator>Erick_1</dc:creator>
    <dc:date>2024-01-05T19:12:50Z</dc:date>
    <item>
      <title>Interceptor - cannot add headers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/interceptor-cannot-add-headers/m-p/1354637#M6142</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am using ArcGIS Runime for Kotlin 200.2. I need a request interceptor&amp;nbsp; to add a new header to the request and change request url so that I can use proxy. But request.headers is not a mutable list, so I cannot add new header there. Is there any workaround for this? Will it be fixed in 200.3?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 15:37:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/interceptor-cannot-add-headers/m-p/1354637#M6142</guid>
      <dc:creator>Nikola1</dc:creator>
      <dc:date>2023-11-29T15:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Interceptor - cannot add headers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/interceptor-cannot-add-headers/m-p/1366934#M6146</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;With 200.2.0 we added support for network interceptors, but at this point only for "observational" purposes such as logging network requests. We are currently working on support for modifying network requests as part of network interception. This will be supported in one of the upcoming releases.&lt;BR /&gt;&lt;BR /&gt;Note, if you are interested in adding headers on every outgoing network request, you can currently do this with &lt;A href="https://developers.arcgis.com/kotlin/api-reference/arcgis-maps-kotlin/com.arcgismaps.httpcore/-arc-g-i-s-http-client/add-additional-request-header.html" target="_self" rel="nofollow noopener noreferrer"&gt;ArcGISHttpClient.addAdditionalRequestHeader&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;See similar discussion here &lt;A href="https://community.esri.com/t5/kotlin-maps-sdk-questions/there-is-no-way-to-modify-network-request/m-p/1325210/highlight/true#M220" target="_blank"&gt;https://community.esri.com/t5/kotlin-maps-sdk-questions/there-is-no-way-to-modify-network-request/m-p/1325210/highlight/true#M220&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 19:12:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/interceptor-cannot-add-headers/m-p/1366934#M6146</guid>
      <dc:creator>Erick_1</dc:creator>
      <dc:date>2024-01-05T19:12:50Z</dc:date>
    </item>
  </channel>
</rss>

