bpannier / simpletr64

Simple TR64 UPnP: A simple way to talk to your UPnP and/or TR64 protocol devices
Apache License 2.0
11 stars 7 forks source link

Add verify parameter and authentication for loadDeviceDefinitions #7

Closed johan12345 closed 6 years ago

johan12345 commented 7 years ago

When accessing TR-64 remotely on FritzBox devices, loading the tr64desc.xml file (through https://....myfritz.net:port/tr064/tr64desc.xml) also needs authentication. 157a624 adds this to the loadDeviceDefinitions function.

Additionally, I added a verify parameter to the constructors which is passed on to requests.get and requests.post to customize the verification of SSL certificates (a specific certificate can be trusted by specifying a file path or verification can be turned off by setting it to False).