Fix HTTP redirect missing statuscode 303 and 307
Change-Id: I1c5f3a9f348a05d0558b31f912e10a59382eb24c
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user