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

Allow passing custom contextFactory for client authentication etc #121

Closed
djfroofy opened this issue Feb 19, 2016 · 1 comment
Closed

Allow passing custom contextFactory for client authentication etc #121

djfroofy opened this issue Feb 19, 2016 · 1 comment

Comments

@djfroofy
Copy link

I would like to use treq with a setup requiring a custom context factory. My specific use case now is talking to an endpoint with needs client authentication / MutualTLS:

http://twisted.readthedocs.org/en/latest/core/howto/ssl.html#client-authentication

I think this could be enabled by passing an optional contextFactory keyword argument (in **kwargs) in treq.api functions down to private _client() api and then pass this (if provided) to Agent's init.

@djfroofy
Copy link
Author

i see i've opened a dup of: #28

closing

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