Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6cbca108 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Code Review
Browse files

Merge "Fix HTTP redirect missing statuscode 303 and 307"

parents f0f6c54b 43df1334
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
        }