<?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 Content-Type charset on safari and firefox in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-Type-charset-on-safari-and-firefox/m-p/167444#M6078</link>
    <description>&lt;P&gt;Hi, I'm trying to make a call to API V2 via the browser. &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#formats" target="_blank" rel="nofollow noreferrer"&gt;Here&lt;/A&gt; in the spec you wrote&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt; - Set the&amp;nbsp;&lt;CODE&gt;Content-Type&lt;/CODE&gt;&amp;nbsp;to "text/plain; charset=dropbox-cors-hack" instead of "application/json" or "application/octet-stream".&lt;/P&gt;
&lt;P&gt;I tried doing this. It works on Chrome, but it somehow does not work on safari and Firefox.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In both firefox and safari, the browser seems to overwrite the supplied charset, and uses `UTF-8` for the XHR instead.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This truly made me sad T_T. Are you guys familiar with this situation?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:32:58 GMT</pubDate>
    <dc:creator>Ge Y.</dc:creator>
    <dc:date>2019-05-29T09:32:58Z</dc:date>
    <item>
      <title>Content-Type charset on safari and firefox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-Type-charset-on-safari-and-firefox/m-p/167444#M6078</link>
      <description>&lt;P&gt;Hi, I'm trying to make a call to API V2 via the browser. &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#formats" target="_blank" rel="nofollow noreferrer"&gt;Here&lt;/A&gt; in the spec you wrote&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt; - Set the&amp;nbsp;&lt;CODE&gt;Content-Type&lt;/CODE&gt;&amp;nbsp;to "text/plain; charset=dropbox-cors-hack" instead of "application/json" or "application/octet-stream".&lt;/P&gt;
&lt;P&gt;I tried doing this. It works on Chrome, but it somehow does not work on safari and Firefox.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In both firefox and safari, the browser seems to overwrite the supplied charset, and uses `UTF-8` for the XHR instead.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This truly made me sad T_T. Are you guys familiar with this situation?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:32:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-Type-charset-on-safari-and-firefox/m-p/167444#M6078</guid>
      <dc:creator>Ge Y.</dc:creator>
      <dc:date>2019-05-29T09:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Content-Type charset on safari and firefox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-Type-charset-on-safari-and-firefox/m-p/167445#M6079</link>
      <description>&lt;P&gt;Hi Ge - thanks for reporting. I think this is a bug in Firefox. See this StackOverflow post:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/33902289/using-dropbox-v2-api-from-browser" rel="nofollow noreferrer"&gt;https://stackoverflow.com/questions/33902289/using-dropbox-v2-api-from-browser&lt;/A&gt; . We haven't had reports about this happening in Safari yet. Is it the exact same error? If not, can you share the code and output, so I can try to reproduce on my side?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 07:40:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-Type-charset-on-safari-and-firefox/m-p/167445#M6079</guid>
      <dc:creator>Alexandra F.1</dc:creator>
      <dc:date>2016-06-07T07:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Content-Type charset on safari and firefox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-Type-charset-on-safari-and-firefox/m-p/167446#M6080</link>
      <description>&lt;P&gt;Hey Alex,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think it is exactly the same error in safari. Aka the charset gets re-written by the browser.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ge&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 12:19:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-Type-charset-on-safari-and-firefox/m-p/167446#M6080</guid>
      <dc:creator>Ge Y.</dc:creator>
      <dc:date>2016-06-07T12:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Content-Type charset on safari and firefox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-Type-charset-on-safari-and-firefox/m-p/167447#M6081</link>
      <description>&lt;P&gt;Thanks for the report. I'll look into it.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 06:54:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-Type-charset-on-safari-and-firefox/m-p/167447#M6081</guid>
      <dc:creator>Alexandra F.1</dc:creator>
      <dc:date>2016-06-08T06:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Content-Type charset on safari and firefox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-Type-charset-on-safari-and-firefox/m-p/167448#M6082</link>
      <description>&lt;P&gt;I'm not seeing this in Safari. Can you share some code to reproduce the issue? Also, please let us know what version of Safari you're using.&lt;/P&gt;
&lt;P&gt;Also, if you are seeing it in Safari, doe the answer at&amp;nbsp;&lt;A href="http://stackoverflow.com/a/34168434/1305693" rel="nofollow noreferrer"&gt;http://stackoverflow.com/a/34168434/1305693&lt;/A&gt; help?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2016 05:40:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Content-Type-charset-on-safari-and-firefox/m-p/167448#M6082</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-06-09T05:40:49Z</dc:date>
    </item>
  </channel>
</rss>

