I'm trying to implement a http request sequence number and I'm finding it to be impossible. You can set a add headers value but because the requests are tied to different objects that get accessed at different times, it doesn't work. You can set a value and if the item is in cache, it doesn't get sent.
There needs to be some sort of callback to modify the http header values just before the request is issued.
I've noticed, and reported, a problem in 2.9 where custom headers are lost on requests that get redirected via 302. This wasn't an issue prior to 2.9, so it's definitely something that was broken recently. I have no idea if that helps or is even related to what you're seeing, greubel, but it seemed worth mentioning.
I'm just trying to set a cookie on the Roku side. The only problem of not getting it sent, is on a PrefetchPoster() on a roSpringboardScreen object. The prefetch is not passing the cookie. I reported this in another post.
There are a lot of objects that allow setting the http headers but once you set them the underlying requests are fixed. You could load up a audio player with 100 songs and each would have the same headers. It would be NICE if there was a way to modify the cookie on each of the GETS.
There is a problem with my server detecting intruders. I'm generating an encrypted cookie with a sequence number and other stuff but for these 100 songs or photos for slideshows the number is the same. Which I allow, if the request is for a media object. That's where a callback would be nice.