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

Commit 3967a2a3 authored by Per Osbäck's avatar Per Osbäck
Browse files

Fix HTTP redirect missing statuscode 303 and 307

Change-Id: I1c5f3a9f348a05d0558b31f912e10a59382eb24c
parent c533edc9
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;
        }