-
Feature request, support HTTP headers?
Would you pass along a request to the folks responsible for the RA2 main repeaters?
Right now the repeater doesn't return a valid "Last-Modified" header.
Nor does it support being sent an HTTP 'HEAD' command.
The two, used together, would be a nicely lightweight way for a 3rd party to query the repeater via the DbXmlInfo.xml URI for versioning.
As in, make a HEAD request and check the returned 'Last-Modified' header to see if the configuration has changed since it was last requested.
Or maybe I'm missing something, is there a way to query for a timestamp or other value that would let me compare whether the data I've already downloaded is still valid?
Will it accept a conditional get with a 'If-Modified-Since' header?
-
Authorized Lutron Contributor
I have sent your feedback to our System Development team so they can look into adding this as a future update.
-
Thanks, it'd certainly allow interfaces to be little more robust. And stand the chance of faster interaction. Right now, having to download and parse the whole XML file chews up a bunch of CPU & time. Only to discover that nothing has changed.
-
Authorized Lutron Contributor
I did some more digging and found the command ?system,10 will return the last time the XML file was changed. This could be from a transfer, or a homeowner making changes through the Home Control+ app.
-
Post Thanks / Like - 0 Thanks, 1 Likes
-
Originally Posted by
Mike S.
I did some more digging and found the command ?system,10 will return the last time the XML file was changed. This could be from a transfer, or a homeowner making changes through the Home Control+ app.
Hi Mike,
Sorry old thread but would like to confirm the command "?system,10" will print the the last time the project was uploaded?
Also is there a detailed info on all terminal commands regarding debug/system info as terminal doesnt show all commands.
Thanks
Last edited by donkeyface; 12-19-2016 at 04:47 AM.
Reason: forgot to add comment