python requests 请求https加固的ES
https ca + key + password
session = requests.Session()
session.mount('https://', SSLAdapter(certfile, keyfile, password))
session.get(url)
http auth认证 user password
session.get(...., auth=('user', 'password'))
本文来自博客园,作者:一支小白,转载请注明原文链接:https://www.cnblogs.com/startnow/p/13693655.html

浙公网安备 33010602011771号