mmcbride
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2011
07:17 PM
302 header bug
I'm guessing no one is looking at my old post so I figured I would try a new one.
http://forums.roku.com/viewtopic.php?f=34&t=41082&start=0
Could the referenced link be a bug. and if so does anyone have a way to work around it on the roku side instead of the server side?
http://forums.roku.com/viewtopic.php?f=34&t=41082&start=0
Could the referenced link be a bug. and if so does anyone have a way to work around it on the roku side instead of the server side?
5 REPLIES 5
mmcbride
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2011
10:09 PM
Re: 302 header bug
Come on roku guys. At least a response saying you don't know would help.
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2011
10:30 PM
Re: 302 header bug
I'm just a guy - I don't know. Hopefully someone else does.
dherbst
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2011
06:03 AM
Re: 302 header bug
It's probably not considered a bug - but it would be nice to be able to pass a flag to the http object that would have it not automatically follow 301/302 redirects so we could inspect the response and decide what to do. I've been bitten by the automatic 302 redirection as well.

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2011
06:21 AM
Re: 302 header bug
In the past, I've used a HEAD request to get the headers for a 302, but I don't think that helps for POST redirects.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2011
12:37 PM
Re: 302 header bug
From the linked thread it sounds like you have a work-around as well....
Like the theEndless said, use a HEAD request as a workaround for looking at responses without following the redirect. There is not a good workaround for using the same technique on a POST (short of using the new v3.0 roStreamSocket component to do it yourself).
--Kevin
Like the theEndless said, use a HEAD request as a workaround for looking at responses without following the redirect. There is not a good workaround for using the same technique on a POST (short of using the new v3.0 roStreamSocket component to do it yourself).
--Kevin