retrieve the final url after potential http 30x redirect

This commit is contained in:
Athou
2013-08-22 15:35:34 +02:00
parent fb9b42ab12
commit a14484ee03
4 changed files with 35 additions and 11 deletions

View File

@@ -77,6 +77,7 @@ public class FeedFetcher {
feed.setEtagHeader(FeedUtils.truncate(result.geteTag(), 255));
feed.setLastContentHash(hash);
fetchedFeed.setFetchDuration(result.getDuration());
fetchedFeed.setUrlAfterRedirect(result.getUrlAfterRedirect());
return fetchedFeed;
}