mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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();
|
inputStream = connection.getInputStream();
|
||||||
inputEncoding = connection.getContentEncoding();
|
inputEncoding = connection.getContentEncoding();
|
||||||
result = parser.parse(inputStream, inputEncoding, contentId,
|
result = parser.parse(inputStream, inputEncoding, contentId,
|
||||||
Util.parseBaseUri(manifestUrl));
|
Util.parseBaseUri(connection.getURL().toString()));
|
||||||
} finally {
|
} finally {
|
||||||
if (inputStream != null) {
|
if (inputStream != null) {
|
||||||
inputStream.close();
|
inputStream.close();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue