diff options
author | Per Osbäck <per@osbeck.com> | 2010-11-29 15:59:12 +0100 |
---|---|---|
committer | Per Osbäck <per@osbeck.com> | 2010-11-29 15:59:12 +0100 |
commit | 43df1334a809eba7f329449486b02ca89229167e (patch) | |
tree | d1f0c419ec4822e6a610aa5c374265d9d757a005 | |
parent | f0f6c54b13831b11bd7a3bd7a01dc49b7505e56e (diff) | |
download | base-43df1334a809eba7f329449486b02ca89229167e.tar.gz |
Fix HTTP redirect missing statuscode 303 and 307
Change-Id: I1c5f3a9f348a05d0558b31f912e10a59382eb24c
-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; } |