Skip to content

Dropbox Lack of Encoding Causes Connection Failures #173

@empty

Description

@empty

With the change to #139 now Dropbox connections fail. Dropbox doesn't seem to have the encoding set in the Requests library which causes the decode method to fail with: "TypeError: decode() argument 1 must be string, not None" on line 174 of social.backends.oauth in unauthorized_token. I'd suggest just using the old behavior in the case of no encoding or possibly use response.apparent_encoding but I'm not really sure what all that does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions