<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Mar 18, 2015 at 4:19 PM, Frank Phillips <span dir="ltr"><<a href="mailto:frankalso@gmail.com" target="_blank">frankalso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Wed, Mar 18, 2015 at 2:52 PM, Dan Wilga <span dir="ltr"><<a href="mailto:mythtv-users2@dwilga-linux1.amherst.edu" target="_blank">mythtv-users2@dwilga-linux1.amherst.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span>
<div>On 3/18/15 3:14 PM, Bill Meek wrote:<br>
</div>
<blockquote type="cite">On
03/18/2015 01:47 PM, Phil Bridges wrote:
<br>
<blockquote type="cite">On Wed, Mar 18, 2015 at 1:17 PM, Bill Meek
<a href="mailto:keemllib@gmail.com" target="_blank"><keemllib@gmail.com></a> wrote:
<br>
</blockquote>
...
<br>
<blockquote type="cite">
<blockquote type="cite">I see the same with Firefox.
<br>
<br>
Try it with curl (I thing you're getting cached information.):
<br>
<br>
curl <BE>:6547/Frontend/GetStatus|sed
's/></>\n</g'
<br>
<br>
The sed is just to make it easier to read.
<br>
<br>
<br>
<br>
</blockquote>
Thanks. That did it. Ifind it a little odd, though, that the
Chrome REST
<br>
tools keep seeing the cached data.
<br>
</blockquote>
<br>
It is odd. The 1st response contains an ETag. The 2nd query
includes the
<br>
same ETag (correctly, I believe), but even though the FE screen
has
<br>
changed from Watch Recordings to actual Playback (for my test),
the
<br>
FE returns a 304 Not Modified in the response.
<br>
<br>
</blockquote>
</span><font size="-1">In your browser, you could also try adding a r</font><font size="-1">ando</font>m number to the end, and change it every time
you want a new version:<br>
<br>
mythbackend:6547/Frontend/GetStatus?foo=12345<br>
<br>
This technique is often used by Javascript libraries to avoid ornery
clients that like to keep old stuff.<br>
</div>
<br></blockquote><div><br></div></div></div><div>If you POST instead of GET it will give you fresh data each time, no extra parameters necessary. You can do this with curl - I am using the Firefox RESTClient addon.<br></div><div> </div></div></div></div>
<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a><br>
<br></blockquote></div><br></div><div class="gmail_extra">Thanks - I was doing this with a GET.</div></div>