<?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: /get_temporary_link URL is always setting content-disposition: attachment Header in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-temporary-link-URL-is-always-setting-content-disposition/m-p/231017#M12580</link>
    <description>Thanks for the post! The documentation's reference to streaming the content is referring to streaming it in media players, for example. It isn't intended for displaying in the browser.&lt;BR /&gt;&lt;BR /&gt;There isn't a way to control that unfortunately, but I'll pass this along as a feature request.</description>
    <pubDate>Thu, 06 Jul 2017 14:49:52 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-07-06T14:49:52Z</dc:date>
    <item>
      <title>/get_temporary_link URL is always setting content-disposition: attachment Header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-temporary-link-URL-is-always-setting-content-disposition/m-p/230955#M12573</link>
      <description>&lt;P&gt;When doing a&amp;nbsp;call to&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://api.dropboxapi.com/2/files/get_temporary_link" target="_blank"&gt;https://api.dropboxapi.com/2/files/get_temporary_link&lt;/A&gt;&lt;/STRONG&gt; to receive a temporarily link to a media file, the received URL will be like:&amp;nbsp;&lt;A href="https://dl.dropboxusercontent.com/apitl/1/" target="_blank"&gt;https://dl.dropboxusercontent.com/apitl/1/&lt;/A&gt;..........&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the problem I have is that this URL is setting the&amp;nbsp;&lt;STRONG&gt;content-disposition: attachment Header,&lt;/STRONG&gt; making it impossible to stream this content directly via the browser. Something that should be possible according to the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link" target="_self"&gt;documentation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It also differs from the behavior of the&amp;nbsp;old API v1 &lt;STRONG&gt;/media&amp;nbsp;&lt;/STRONG&gt;call which is setting the&amp;nbsp;&lt;STRONG&gt;content-disposition: inline;&lt;/STRONG&gt; header on the temporarily links (&lt;A href="https://dl.dropboxusercontent.com/1/view/" target="_blank"&gt;https://dl.dropboxusercontent.com/1/view/&lt;/A&gt;....). At that time we were able to change this behavior if needed by manually adding&amp;nbsp;?dl=1 to this URL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you let me know how I can achieve the same behavior with the current API without using shared links?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:20:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-temporary-link-URL-is-always-setting-content-disposition/m-p/230955#M12573</guid>
      <dc:creator>De L.1</dc:creator>
      <dc:date>2019-05-29T09:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: /get_temporary_link URL is always setting content-disposition: attachment Header</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-temporary-link-URL-is-always-setting-content-disposition/m-p/231017#M12580</link>
      <description>Thanks for the post! The documentation's reference to streaming the content is referring to streaming it in media players, for example. It isn't intended for displaying in the browser.&lt;BR /&gt;&lt;BR /&gt;There isn't a way to control that unfortunately, but I'll pass this along as a feature request.</description>
      <pubDate>Thu, 06 Jul 2017 14:49:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-temporary-link-URL-is-always-setting-content-disposition/m-p/231017#M12580</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-07-06T14:49:52Z</dc:date>
    </item>
  </channel>
</rss>

