<?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: Add custom headers to layer requests in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-custom-headers-to-layer-requests/m-p/581404#M54250</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I wasn't able to alter the Referer item (translated to English):&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;"Attempt to use a forbidden header was rejected: Referer&lt;/SPAN&gt;&lt;/SPAN&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2018 12:57:30 GMT</pubDate>
    <dc:creator>RiccardoKlinger2</dc:creator>
    <dc:date>2018-09-25T12:57:30Z</dc:date>
    <item>
      <title>Add custom headers to layer requests</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-custom-headers-to-layer-requests/m-p/581402#M54248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to add custom HTTP headers to every layer request (p.e. WMTSLayer)? I'd like to add the referer header because otherwise the WMTS Service doesn't&amp;nbsp; delivier the image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 11:05:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-custom-headers-to-layer-requests/m-p/581402#M54248</guid>
      <dc:creator>LukasKalt</dc:creator>
      <dc:date>2016-08-08T11:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Add custom headers to layer requests</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-custom-headers-to-layer-requests/m-p/581403#M54249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 3.x you can use &lt;SPAN style="font-family: 'courier new', courier;"&gt;esriRequest.setRequestPreCallback()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/esri.request-amd.html#esrirequest.setrequestprecallback" title="https://developers.arcgis.com/javascript/3/jsapi/esri.request-amd.html#esrirequest.setrequestprecallback"&gt;esri/request | API Reference | ArcGIS API for JavaScript 3.17&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will let you modify the request before it is sent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 15:05:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-custom-headers-to-layer-requests/m-p/581403#M54249</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2016-08-08T15:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Add custom headers to layer requests</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-custom-headers-to-layer-requests/m-p/581404#M54250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I wasn't able to alter the Referer item (translated to English):&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;"Attempt to use a forbidden header was rejected: Referer&lt;/SPAN&gt;&lt;/SPAN&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 12:57:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-custom-headers-to-layer-requests/m-p/581404#M54250</guid>
      <dc:creator>RiccardoKlinger2</dc:creator>
      <dc:date>2018-09-25T12:57:30Z</dc:date>
    </item>
  </channel>
</rss>

