Quantcast
Channel: Squeezebox : Community : Forums
Viewing all articles
Browse latest Browse all 10706

SimpleAsyncHTTP: getting the last redirected url

$
0
0
> 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

Viewing all articles
Browse latest Browse all 10706

Trending Articles