> Hi - Is there a way to get the last redirect url when receiving a
> response from a get for a SimpleAsyncHTTP class? I can do that using
> base() on LWP::UserAgent, but I know I'll be excommunicated if I use
> this :)
I don't think it's available from SimpleAsyncHTTP. But its underlying
Slim::Networking::Async::HTTP class does support an onRedirect
parameter. You could use that class directly, or inherit from
SimpleAsyncHTTP and override its _createHTTPRequest call.
--
Michael
> response from a get for a SimpleAsyncHTTP class? I can do that using
> base() on LWP::UserAgent, but I know I'll be excommunicated if I use
> this :)
I don't think it's available from SimpleAsyncHTTP. But its underlying
Slim::Networking::Async::HTTP class does support an onRedirect
parameter. You could use that class directly, or inherit from
SimpleAsyncHTTP and override its _createHTTPRequest call.
--
Michael