We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'd like to pass an argument to the ClientSession to disable the SSL verification (for a testsystem with selfsigned cert), like described here
session = aiohhtp.ClientSession(connector=aiohttp.TCPConnector(verify_ssl=False))
Is there a possibility to pass arguments to the ClientSession with aiohttp-requests?
Edit: In case anyone needs this urgently you can modify the "private" variable that stores the session arguments:
from aiohttp_requests import requests ... requests._session_args[1]["connector"] = aiohttp.TCPConnector(verify_ssl=False)
The text was updated successfully, but these errors were encountered:
The proper approach is to create your own requests instance from the Requests class like:
requests
Requests
from aiohttp_requests import Requests requests = Requests(connector=aiohttp.TCPConnector(verify_ssl=False))
Sorry, something went wrong.
No branches or pull requests
I'd like to pass an argument to the ClientSession to disable the SSL verification (for a testsystem with selfsigned cert), like described here
Is there a possibility to pass arguments to the ClientSession with aiohttp-requests?
Edit: In case anyone needs this urgently you can modify the "private" variable that stores the session arguments:
The text was updated successfully, but these errors were encountered: