Skip to content

Fix httpx oauth1 binary form data#779

Open
shc261392 wants to merge 3 commits intoauthlib:mainfrom
shc261392:fix-httpx-oauth1-binary-form-data
Open

Fix httpx oauth1 binary form data#779
shc261392 wants to merge 3 commits intoauthlib:mainfrom
shc261392:fix-httpx-oauth1-binary-form-data

Conversation

@shc261392
Copy link
Copy Markdown
Contributor

See issue #516 for details.

What kind of change does this PR introduce? (check at least one)

  • [v] Bugfix
  • Feature
  • Code style update
  • Refactor
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • [v] No

  • [v] You consent that the copyright of your pull request source code belongs to Authlib's author.

shc261392 and others added 3 commits December 17, 2022 08:22
when doing multipart/form-data request, len(body) is always 0 while len(request.content) reflect the actuall content length.
…is passed

when stream is not passed, the new request is short of the binary data of the request and will make a POST request lose its data
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Aug 8, 2025

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.

1 participant