Skip to content

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

Closed

Description

@achillesrasquinha

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.

Activity

  1. achillesrasquinha commented on Oct 13, 2023

    @achillesrasquinha
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions