fj604 / cloudpoint

Veritas CloudPoint REST API wrapper class in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suppress Insecure HTTPS warning

fj604 opened this issue · comments

commented

Every time an unsecure HTTPS request is made, the following warning is spewed out on stderr - need to suppress it as CloudPoint has no ability to add a user-supplied SSL certificate.

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

commented

Added a disable_warnings parameter (default: True) to init()