danieloeh/AntennaPod — pull request #123 by ortylp (2013-03-10 19:28:03+00:00)
Title: Fixed regression, issue #96

The regression came with the use of AndroidHttpClient, where URLs are strictly validated.
The fix uses RedirectHandler to rewrite/fix broken URLs in case of redirection. AndroidHttpClient does not allow setting of RedirectHandler, therefore DefaultHttpHandler has been put in place.

Potential issues:
* DefaultHttpHandler implements the same interface as AndroidHttpClient, but does not support close() call (It seems that newer API will support it). I assume, that GC is able to deal with it.