diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2010-12-01 08:25:12 -0800 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2010-12-01 08:25:12 -0800 |
commit | 6cbca108936d3be3acfef7d05af73230eacd9b8b (patch) | |
tree | d1f0c419ec4822e6a610aa5c374265d9d757a005 | |
parent | f0f6c54b13831b11bd7a3bd7a01dc49b7505e56e (diff) | |
parent | 43df1334a809eba7f329449486b02ca89229167e (diff) | |
download | base-6cbca108936d3be3acfef7d05af73230eacd9b8b.tar.gz |
Merge "Fix HTTP redirect missing statuscode 303 and 307"
-rw-r--r-- | media/libstagefright/HTTPDataSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/HTTPDataSource.cpp b/media/libstagefright/HTTPDataSource.cpp index 521c3c864e2b..31ce02ff93fc 100644 --- a/media/libstagefright/HTTPDataSource.cpp +++ b/media/libstagefright/HTTPDataSource.cpp @@ -88,7 +88,7 @@ status_t HTTPDataSource::connectWithRedirectsAndRange(off_t rangeStart) { return OK; } - if (httpStatus != 301 && httpStatus != 302) { + if (httpStatus != 301 && httpStatus != 302 && httpStatus != 303 && httpStatus != 307) { LOGE("HTTP request failed w/ http status %d", httpStatus); return ERROR_IO; } |