Hi, first of all thank you a lot to share this excellent lib.
I would like to make a request. Is that possible to add a feature to connect into an alternative port?
According to docs it accepts as alternative parameters: adom, protocol (http=80/https=443), verify, and proxies.
I have just modified port_by_scheme = {"http": 80, "https": 8443} into file ./site-packages/urllib3/connection.py to accept an alternative port.
Once again, thank you!
Edited
please, never mind.. fortimngr = pyFortiManagerAPI.FortiManager(host="1.2.3.4:8443", username="someuser", password="somepass", verify=False)
Hi, first of all thank you a lot to share this excellent lib. I would like to make a request. Is that possible to add a feature to connect into an alternative port?
According to docs it accepts as alternative parameters: adom, protocol (http=80/https=443), verify, and proxies.
I have just modified port_by_scheme = {"http": 80, "https": 8443} into file ./site-packages/urllib3/connection.py to accept an alternative port.
Once again, thank you!
Edited please, never mind.. fortimngr = pyFortiManagerAPI.FortiManager(host="1.2.3.4:8443", username="someuser", password="somepass", verify=False)