Forum Discussion

5 Replies

  • Come on roku guys. At least a response saying you don't know would help.
  • destruk's avatar
    destruk
    Streaming Star
    I'm just a guy - I don't know. Hopefully someone else does.
  • 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.
  • 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.
  • 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