1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-08 00:16:09 +00:00

Exhaust response if status is different from 403

This commit is contained in:
davigonz 2017-01-26 17:01:48 +01:00
parent 1aba54d0f9
commit 67e5ccd4af

View File

@ -160,7 +160,7 @@ public class DownloadRemoteFileOperation extends RemoteOperation {
// TODO some kind of error control!
}
} else {
} else if (status != 403){
client.exhaustResponse(mGet.getResponseBodyAsStream());
}