rest-client icon indicating copy to clipboard operation
rest-client copied to clipboard

Silence InsecureRequestWarning if verify_https=False

Open rmilkowski opened this issue 4 years ago • 1 comments

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.

rmilkowski avatar Mar 25 '20 14:03 rmilkowski