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 OAuth query transport_method #1634

Merged
merged 1 commit into from Jun 11, 2015

Conversation

simov
Copy link
Member

@simov simov commented Jun 8, 2015

I broke it here simov@4131904#diff-84fad1d3b3913ec86805e857580c5d54R114 because the OAuth parameters were appended here simov@4131904#diff-ccc0734f65dd7a299409ff07d35be095L1398 instead of replaced.

Additionally now request.uri is constructed properly when using OAuth transport_method:query, so when using request-debug the correct uri is dumped containing all of the query parameters.

Lastly I greatly improved the OAuth transport_method related tests, because they were a bit loose and the cause of this bug in the first place.

Improve OAuth transport_method related tests
simov added a commit that referenced this pull request Jun 11, 2015
@simov simov merged commit e0b6921 into request:master Jun 11, 2015
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

1 participant