PureStorage-OpenConnect / rest-client

Pure Storage FlashArray Python REST 1.X Client
BSD 2-Clause "Simplified" License
39 stars 23 forks source link

Silence InsecureRequestWarning if verify_https=False #20

Open rmilkowski opened 4 years ago

rmilkowski commented 4 years ago

The default is not to verify SSL certificates which then results in the below warnings being printed:

.venv/lib64/python3.6/site-packages/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning,

Which is rather not user/developer friendly.

CLAassistant commented 4 years ago

CLA assistant check
All committers have signed the CLA.