Do not send a proper XML header on init token response

The vTuner API doesn't do it and some AVRs have problems with it.
Thanks to @AlfredJ91 for the heads-up.
This commit is contained in:
milaq 2019-08-14 14:22:20 +02:00
parent 9e1bb5e17b
commit 63b87dfa95

View file

@ -4,7 +4,7 @@ XML_HEADER = '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>'
def get_init_token():
return XML_HEADER + '<EncryptedToken>0000000000000000</EncryptedToken>'
return '<EncryptedToken>0000000000000000</EncryptedToken>'
def strip_https(url):