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

OAuth 1.0 requests failing when using POST, form object and transport_method=body #2614

Closed
dvishniakov opened this issue Mar 28, 2017 · 1 comment · May be fixed by #2615
Closed

OAuth 1.0 requests failing when using POST, form object and transport_method=body #2614

dvishniakov opened this issue Mar 28, 2017 · 1 comment · May be fixed by #2615
Labels

Comments

@dvishniakov
Copy link
Contributor

dvishniakov commented Mar 28, 2017

Simplest Example to Reproduce

Look at tests/test-oauth.json:506, test 'body transport_method + form option + url params'
The body of such request will be actually truncated to the length of the object supplied as form parameter.
To catch it you need to send it to the actual server(or mock) which implements OAuth 1.0 and check the response.

Expected Behavior

Content-length should be calculated properly

Current Behavior

Content-length is truncated in one specific case

Possible Solution

PR: #2615

Context

This issue failed one of my own tests when I tried to start using this project

@stale
Copy link

stale bot commented Nov 23, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 23, 2018
@stale stale bot closed this as completed Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant