<?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: Generated temporary link, content type is not correctly set in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generated-temporary-link-content-type-is-not-correctly-set/m-p/269417#M15895</link>
    <description>The correct Content-Type should be returned now, even when using file ID. Hope this helps!</description>
    <pubDate>Wed, 21 Mar 2018 12:29:19 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-03-21T12:29:19Z</dc:date>
    <item>
      <title>Generated temporary link, content type is not correctly set</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generated-temporary-link-content-type-is-not-correctly-set/m-p/256699#M14886</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used the api to generate a temporary link and I've accessed it, but the Content-Type header is set to application/octet-stream instead of video/x-matroska. Obviously my file's extension is '.mkv'.&lt;/P&gt;&lt;P&gt;In the endpoint's description &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link&lt;/A&gt; it says that the mime type is set to the file's mime type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me with this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:16:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generated-temporary-link-content-type-is-not-correctly-set/m-p/256699#M14886</guid>
      <dc:creator>cristiz1992</dc:creator>
      <dc:date>2019-05-29T09:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Generated temporary link, content type is not correctly set</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generated-temporary-link-content-type-is-not-correctly-set/m-p/256710#M14888</link>
      <description>I just tried this out and it is working properly for me. Can you share the code you're using? Thanks in advance!</description>
      <pubDate>Thu, 14 Dec 2017 20:20:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generated-temporary-link-content-type-is-not-correctly-set/m-p/256710#M14888</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-12-14T20:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Generated temporary link, content type is not correctly set</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generated-temporary-link-content-type-is-not-correctly-set/m-p/256711#M14889</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was calling the get_temporary_link endpoint using the fileid instead of the path.&lt;/P&gt;&lt;P&gt;I tried using the path and the content type header gets correctly set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does Dropbox support fileid for this endpoint? I saw in the regexp that you allow strings that start with id: ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 20:47:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generated-temporary-link-content-type-is-not-correctly-set/m-p/256711#M14889</guid>
      <dc:creator>cristiz1992</dc:creator>
      <dc:date>2017-12-14T20:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Generated temporary link, content type is not correctly set</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generated-temporary-link-content-type-is-not-correctly-set/m-p/256716#M14891</link>
      <description>Thanks! The endpoint itself does accept file ID, but the mime type detection is based on file extension, which is missing when a file ID is used.&lt;BR /&gt;&lt;BR /&gt;As a workaround, please do use the file path if you need the specific Content-Type value there. I'll ask the team to look into if we can get this to return the expected value even when the file ID is used, but I can't guarantee if/when that would be.</description>
      <pubDate>Thu, 14 Dec 2017 21:08:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generated-temporary-link-content-type-is-not-correctly-set/m-p/256716#M14891</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-12-14T21:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Generated temporary link, content type is not correctly set</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generated-temporary-link-content-type-is-not-correctly-set/m-p/269417#M15895</link>
      <description>The correct Content-Type should be returned now, even when using file ID. Hope this helps!</description>
      <pubDate>Wed, 21 Mar 2018 12:29:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generated-temporary-link-content-type-is-not-correctly-set/m-p/269417#M15895</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-03-21T12:29:19Z</dc:date>
    </item>
  </channel>
</rss>

