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

Changes for handling HTTP_METHOD_NOT_FOUND responses

This commit is contained in:
sd1998 2018-10-26 14:35:00 +05:30
parent f6471b66ca
commit 69c7a24ebb

View File

@ -274,6 +274,11 @@ public class RemoteOperationResult<T extends Object>
ResultCode.SPECIFIC_SERVICE_UNAVAILABLE ResultCode.SPECIFIC_SERVICE_UNAVAILABLE
); );
break; break;
case HttpConstants.HTTP_METHOD_NOT_ALLOWED:
parseErrorMessageAndSetCode(
httpMethod.getResponseBodyAsString(),
ResultCode.SPECIFIC_SERVICE_UNAVAILABLE
);
default: default:
break; break;
} }