mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Changes for handling HTTP_METHOD_NOT_FOUND responses
This commit is contained in:
parent
f6471b66ca
commit
69c7a24ebb
@ -274,6 +274,11 @@ public class RemoteOperationResult<T extends Object>
|
||||
ResultCode.SPECIFIC_SERVICE_UNAVAILABLE
|
||||
);
|
||||
break;
|
||||
case HttpConstants.HTTP_METHOD_NOT_ALLOWED:
|
||||
parseErrorMessageAndSetCode(
|
||||
httpMethod.getResponseBodyAsString(),
|
||||
ResultCode.SPECIFIC_SERVICE_UNAVAILABLE
|
||||
);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user