HTTPX: add send method by lspgn · Pull Request #554 · authlib/authlib
Hello,
Thank you for this library.
In some cases documented by HTTPX, when using directly the send method, the bearer token is not passed.
This change adds a method with a similar signature to request and stream with an auth parameter (those two can likely be removed too).
The only thing I have not fully tested is self.ensure_active_token(self.token) as it's in a non async function.
Thank you
What kind of change does this PR introduce? (check at least one)
- Bugfix
- Feature
- Code style update
- Refactor
- Other, please describe:
Does this PR introduce a breaking change? (check one)
- Yes
- No
- You consent that the copyright of your pull request source code belongs to Authlib's author.