Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #340 by defaulting encoding var when request.encoding is None #341

Merged
merged 1 commit into from Mar 10, 2016

Conversation

dougkeen
Copy link
Contributor

@dougkeen dougkeen commented Jan 5, 2016

None is a valid value for request.encoding, as documented: https://docs.djangoproject.com/en/1.9/ref/request-response/#django.http.HttpRequest.encoding)

@powdahound
Copy link

👍

This will resolve the following issue: http://stackoverflow.com/questions/34403912/when-trying-to-request-for-oauth-access-token-i-get-typeerror-encode-argumen

I'm curious how people have been using django-oauth-toolkit successfully with this bug in place. It seems like it'd get in everyone's way, but I must be missing something.

@synasius synasius merged commit 6c88b25 into jazzband:master Mar 10, 2016
@dougkeen dougkeen deleted the fix-issue-340 branch March 10, 2016 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants