druid-io / pydruid

A Python connector for Druid
Other
506 stars 194 forks source link

Add optional cert to request signature #201

Closed villebro closed 4 years ago

villebro commented 4 years ago

This adds the option to use a client certificate for requests. To facilitate this, the cert argument is added to the connect() method, which is passed through to the cursor and ultimately the requests.post call.

Docs: http://2.python-requests.org/en/v1.1.0/user/advanced/#ssl-cert-verification