mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Merge pull request #169 from google/dev
Correctly handle redirection when requesting manifests.
This commit is contained in:
commit
f034ee7d40
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ public class ManifestFetcher<T> implements Loader.Callback {
|
|||
inputStream = connection.getInputStream();
|
||||
inputEncoding = connection.getContentEncoding();
|
||||
result = parser.parse(inputStream, inputEncoding, contentId,
|
||||
Util.parseBaseUri(manifestUrl));
|
||||
Util.parseBaseUri(connection.getURL().toString()));
|
||||
} finally {
|
||||
if (inputStream != null) {
|
||||
inputStream.close();
|
||||
|
|
|
|||
Loading…
Reference in a new issue