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

AsyncClient does not recognize a cert has been passed. #2888

Closed
achillesrasquinha opened this issue Oct 12, 2023 · 1 comment
Closed

AsyncClient does not recognize a cert has been passed. #2888

achillesrasquinha opened this issue Oct 12, 2023 · 1 comment

Comments

@achillesrasquinha
Copy link

I'm capable of doing the following

$ curl https://foobar.com --cert /path/to/cert

However, when using a Session instance of httpx.AsyncClient, passing the cert gives me error from the server that no certs have been passed.

@achillesrasquinha
Copy link
Author

achillesrasquinha commented Oct 13, 2023

Closing this. Turns out, if you're using a mix of the transport param with AsyncClient, it prioritizes on the first.

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

No branches or pull requests

1 participant