Ok thanks Chris, You answered a question for me last week where you pointed out that the PostFromStringWithTimeout I was using was not the SDK one, but a different one in url.brs. As you see below there doesnt
appear to be a loop here? (or in http_prep)
Function http_post_from_string_with_timeout(val As String, seconds as Integer) as String
m.Prep("POST")
if (m.Http.AsyncPostFromString(val)) then m.Wait(seconds)
return m.response
End Function
So that takes me back to the problem of not getting the headers back from that URL Mark supplied, which works fine in a browser. If i just change the URL from twitter to Mark's I only get the Http code response which is 400 from twitter and from Mark is 200. Where should i listen to get the whole thing with headers? Frankly I am not overly interested in the headers but I know the people on the Twitter developer board will be which is where i need to go with my bad request problem.
Thanks
EDIT:
I think i found it, i needed to listen in -- Function http_wait_with_timeout(seconds As Integer) As Boolean. I got some headers back this time but not what i was expecting
ACCEPT-ENCODING: deflate, gzip
ACCEPT: */*
USER-AGENT: Roku/DVP-5.1 (025.01E01195A)
HOST: greenwoodsoftware.com
At least moves the ball forward a little. Thanks again Chris.
Kinetics Screensavers