How to turn on or off SSL verification with aiohttp.request() ? #5786
-
Thanks to all those people who have spent their valuable time and contributed to the aiohttp. I am new to using the aiohttp library. When I went through the docs, noticed class aiohttp.ClientSession(*, connector=None, loop=None, cookies=None, headers=None, skip_auto_headers=None, auth=None, json_serialize=json.dumps, version=aiohttp.HttpVersion11, cookie_jar=None, read_timeout=None, conn_timeout=None, timeout=sentinel, raise_for_status=False, connector_owner=True, auto_decompress=True, read_bufsize=2 ** 16, requote_redirect_url=False, trust_env=False, trace_configs=None)¶ May I know what parameters I have to use to turn on or off the SSL verification. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Show us the code. |
Beta Was this translation helpful? Give feedback.
-
Well, the documentation you referred to describes the valid arguments as:
If you're getting a |
Beta Was this translation helpful? Give feedback.
Well, the documentation you referred to describes the valid arguments as:
If you're getting a
TypeError
while passing in one of these, then feel free to file a bug report, and include the code you are trying.