Merge branch 'master' of git://github.com/chrissicool/AntennaPod into chrissicool-master
This commit is contained in:
commit
2d6445e5b9
|
@ -40,6 +40,7 @@ public class HttpDownloader extends Downloader {
|
|||
URL url = new URL(status.getFeedFile().getDownload_url());
|
||||
connection = (HttpURLConnection) url.openConnection();
|
||||
connection.setConnectTimeout(CONNECTION_TIMEOUT);
|
||||
connection.setInstanceFollowRedirects(true);
|
||||
int responseCode = connection.getResponseCode();
|
||||
if (responseCode == HttpURLConnection.HTTP_OK) {
|
||||
if (AppConfig.DEBUG) {
|
||||
|
|
Loading…
Reference in New Issue