-
Notifications
You must be signed in to change notification settings - Fork 137
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
Requests Like Client Certification #285
Comments
Unfortunately I think that the specific API exposed by requests (the cert argument) is in conflict with another Treq feature: the ability to pass a custom The capability is available, though: when instantiating the I do think that Treq could make this cleaner. Perhaps expose an API for composing agents like Treq does internally inside |
In requests, you can specify the client cert with an optional parameter like:
requests.get(url, cert=[client_cert_location, client_cert_key_location])
. I would be nice to be able to specify the client cert in the same way.The text was updated successfully, but these errors were encountered: