I have installed the httpd including configured a variable httpd_foo.
When I use a browser to sent the following link: http://marcel:1234@192.168.1.50:5555/setvar?foo=bar
The variable is not updated, the following logging is generated
- Code: Select all
HTTPd 2 Debug MyRequestHandler: GET to port 5555 from 192.168.1.141:55458 for /setvar?foo=bar
HTTPd 2 Debug MyRequestHandler: Request has no Authorization header:
HTTPd 2 Debug {'accept-language': 'en-GB,en;q=0.9', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.2 Safari/605.1.15', 'host': '192.168.1.50:5555', 'upgrade-insecure-requests': '1'}
HTTPd 2 Debug MyRequestHandler: GET to port 5555 from 192.168.1.141:55459 for /setvar?foo=bar
HTTPd 2 Debug MyRequestHandler: auth_map = {'username': 'marcel', 'nonce': 'c56225c19bfc37b57345bbb01048f160', 'realm': 'HTTPd Plugin', 'algorithm': 'MD5', 'qop': 'auth', 'cnonce': '10c99fa83d7193a052db9cce594fcfa2', 'nc': '00000001', 'uri': '/setvar?foo=bar', 'response': '88ebb82465c91e48c72dcb4d2bc6173a'}
HTTPd 2 Debug Myrequesthandler: digest authorization valid
HTTPd 2 Debug webhook 5555: MyRequestHandler: updating device
HTTPd 2 Debug webhook 5555: MyRequestHandler: saved_states = {u'foo': u'bar'}
HTTPd 2 Debug webhook 5555: MyRequestHandler: new_states = {'foo': 'bar'}
HTTPd 2 Debug webhook 5555: getDeviceStateList, base state_list = States : (list)
HTTPd 2 Debug webhook 5555: getDeviceStateList, adding String state foo, value bar
HTTPd 2 Debug webhook 5555: getDeviceStateList, final state_list = States : (list)
Item : (dict)
Disabled : false (bool)
Key : foo (string)
StateLabel : foo (string)
TriggerLabel : foo (string)
Type : 150 (integer)
Item : (dict)
Disabled : false (bool)
Key : foo (string)
StateLabel : foo (string)
TriggerLabel : foo (string)
Type : 150 (integer)
HTTPd 2 Debug webhook 5555: didDeviceCommPropertyChange no changes
Please advice what I am missing here, thx in advance