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

Commit be1da028 authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Fix HTTP redirect for 303 and 307" into froyo

parents 5d1bbc02 3a992e4a
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;
        }