Hey Daniel,
Following a redirect is not implemented currently. You thus have two
options (not mutually exclusive!):
- interpret the 302/303 yourself (i.e. interpret the 'Location' header of
the response)
- file a feature request for it.
Regards,
koen
2013/12/4 Daniel Horsey <dan.hor...@broadruntech.com>
> I'm using the http client to go out to a website for data. Sometimes I
> get a redirect response. What's the best way to handle this? Do I need to
> grab the new URL from the message and do a new get, or is there an argument
> that will allow the client to just follow the redirect?
>
>
>
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
>
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest