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

Commit 5db8867e authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

6790-Allow_always_redirect_in_nc_api_calls

parent b4e4f78e
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -360,7 +360,7 @@ public class InputStreamBinder extends IInputStreamService.Stub {
            }
        }

        client.setFollowRedirects(request.isFollowRedirects());
        client.setFollowRedirects(true);
        int status = client.executeMethod(method);

        // Check if status code is 2xx --> https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_Success
@@ -428,7 +428,7 @@ public class InputStreamBinder extends IInputStreamService.Stub {
            }
        }

        client.setFollowRedirects(request.isFollowRedirects());
        client.setFollowRedirects(true);
        int status = client.executeMethod(method);

        // Check if status code is 2xx --> https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_Success