<?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 Incorrect content type returned when downloading images from dl.dropboxusercontent.com in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Incorrect-content-type-returned-when-downloading-images-from-dl/m-p/626807#M28987</link>
    <description>&lt;P&gt;A content-type of "application/json" is returned whenever requesting a public image hosted by dropbox. I've tested with both a png and jpg&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$ curl -I https://dl.dropboxusercontent.com/s/REDACTED/name.png?dl=1
HTTP/2 200
accept-ranges: bytes
cache-control: max-age=60
content-disposition: attachment; filename=name.png
content-security-policy: report-uri https://www.dropbox.com/csp_log?policy_name=blockserver-usercontent ; sandbox allow-forms allow-scripts allow-top-navigation allow-popups
content-security-policy: form-action 'none' ; report-uri https://www.dropbox.com/csp_log?policy_name=blockserver-noscript ; script-src 'none'
etag: REDACTED
pragma: public
set-cookie:  REDACTED; Domain=dropboxusercontent.com; HttpOnly; Path=/; SameSite=None; Secure
x-content-type-options: nosniff
x-server-response-time: 123
content-type: application/json
accept-encoding: identity,gzip
date: Mon, 03 Oct 2022 21:02:59 GMT
server: envoy
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-robots-tag: noindex, nofollow, noimageindex
content-length: REDACTED
vary: Accept-Encoding
x-dropbox-response-origin: far_remote
x-dropbox-request-id: REDACTED&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Oct 2022 08:51:28 GMT</pubDate>
    <dc:creator>Remers10</dc:creator>
    <dc:date>2022-10-04T08:51:28Z</dc:date>
    <item>
      <title>Incorrect content type returned when downloading images from dl.dropboxusercontent.com</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Incorrect-content-type-returned-when-downloading-images-from-dl/m-p/626807#M28987</link>
      <description>&lt;P&gt;A content-type of "application/json" is returned whenever requesting a public image hosted by dropbox. I've tested with both a png and jpg&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$ curl -I https://dl.dropboxusercontent.com/s/REDACTED/name.png?dl=1
HTTP/2 200
accept-ranges: bytes
cache-control: max-age=60
content-disposition: attachment; filename=name.png
content-security-policy: report-uri https://www.dropbox.com/csp_log?policy_name=blockserver-usercontent ; sandbox allow-forms allow-scripts allow-top-navigation allow-popups
content-security-policy: form-action 'none' ; report-uri https://www.dropbox.com/csp_log?policy_name=blockserver-noscript ; script-src 'none'
etag: REDACTED
pragma: public
set-cookie:  REDACTED; Domain=dropboxusercontent.com; HttpOnly; Path=/; SameSite=None; Secure
x-content-type-options: nosniff
x-server-response-time: 123
content-type: application/json
accept-encoding: identity,gzip
date: Mon, 03 Oct 2022 21:02:59 GMT
server: envoy
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-robots-tag: noindex, nofollow, noimageindex
content-length: REDACTED
vary: Accept-Encoding
x-dropbox-response-origin: far_remote
x-dropbox-request-id: REDACTED&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 08:51:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Incorrect-content-type-returned-when-downloading-images-from-dl/m-p/626807#M28987</guid>
      <dc:creator>Remers10</dc:creator>
      <dc:date>2022-10-04T08:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect content type returned when downloading images from dl.dropboxusercontent.com</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Incorrect-content-type-returned-when-downloading-images-from-dl/m-p/626981#M28997</link>
      <description>&lt;P&gt;Thanks for the report. I've asked the team to fix that up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, note that Dropbox does not officially support accessing 'dl.dropboxusercontent.com' directly like that. You should use '&lt;A href="http://www.dropbox.com'" target="_blank"&gt;www.dropbox.com'&lt;/A&gt; with the 'dl' or 'raw' parameter and follow redirects, as shown in &lt;A href="https://help.dropbox.com/share/force-download" target="_blank"&gt;this help center article&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 13:53:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Incorrect-content-type-returned-when-downloading-images-from-dl/m-p/626981#M28997</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-10-04T13:53:36Z</dc:date>
    </item>
  </channel>
</rss>

