aiohttp-xmlrpc icon indicating copy to clipboard operation
aiohttp-xmlrpc copied to clipboard

Update client.py to allow ssl context to be passed in

Open bfsheng opened this issue 7 years ago • 3 comments

so that it works with https

bfsheng avatar Nov 23 '18 17:11 bfsheng

You might pass ssl_context argument to to the __init__'s **kwargs. This will be passed to the aiohttp.Session.

mosquito avatar Nov 23 '18 17:11 mosquito

Hi mosquitor, it seems that it needs to be added to post() in __remote_call(). Parameters added to **kwargs will only be part of the data in the xmlrpc request. regards, bob

bfsheng avatar Nov 25 '18 12:11 bfsheng

Hi mosquitor, it seems that it needs to be added to post() in __remote_call(). Parameters added to **kwargs will only be part of the data in the xmlrpc request. regards, bob

@bfsheng @mosquito you can apply ssl kwargs globally with ServerProxy(connector=TCPConnector(ssl=...))

graingert avatar Jan 28 '20 18:01 graingert