Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-60400

Dropbox API v2 fails with "Unknown Content-type"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P2: Important
    • Resolution: Done
    • 5.9.0 Beta 2
    • 5.9.2
    • None
    • macOS 10.12.3(16D32)Clang 7.0 (Apple), 64 bit
    • dcf5ced32293d19cb5a10de12e91a77edb0f3c68

    Description

      When combining OAuth2 and QOAuthOobReplyHandler the Dropbox API's /oauth2/token endpoint fails.

      Apparently, it seems that "Content-type" included in this endpoint reply is returned by "text/javascript" instead of "application/json".

      The specification about "Content-type" of this endpoint is not written in API document.

      It seems that it always fails in networkReplyFinished() in qoauthoobreplyhandler.cpp because text/javascript" is not permitted.

      Reference link:

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jefernan Jesus Fernandez
            sharkpp sharkpp
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes