reneboer / python-carnet-client

python script that emulated the VW WE Connect (formerly CarNet) web site
GNU General Public License v3.0
21 stars 9 forks source link

InsecureRequestWarning #29

Closed addellll closed 4 years ago

addellll commented 4 years ago

InsecureRequestWarning, /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/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

I know this git is not supported more, but for me i get alot of InsecureRequestWarning. My solution to this is:

import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

How ever if this is a good idea or not i cant tell since i am no python coder.

reneboer commented 4 years ago

Hi @addellll I have added the code in the latest version. Only in debug mode the warning will still be displayed.