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

Compare commits

...

2 Commits

Author SHA1 Message Date
Juan Carlos Garrote
2db26fe540
Merge pull request #517 from owncloud/feature/handle_425_open_in_web
Handle 425 when trying to open in web
2022-10-31 17:55:11 +01:00
Juan Carlos Garrote
9cc88ec92b Handle 425 when trying to open in web 2022-10-28 10:05:09 +02:00

View File

@ -237,6 +237,10 @@ public class RemoteOperationResult<T>
httpMethod.getResponseBodyAsString(),
ResultCode.SPECIFIC_METHOD_NOT_ALLOWED
);
break;
case HttpConstants.HTTP_TOO_EARLY:
mCode = ResultCode.TOO_EARLY;
break;
default:
break;
}
@ -583,6 +587,7 @@ public class RemoteOperationResult<T>
SPECIFIC_SERVICE_UNAVAILABLE,
SPECIFIC_UNSUPPORTED_MEDIA_TYPE,
SPECIFIC_METHOD_NOT_ALLOWED,
SPECIFIC_BAD_REQUEST
SPECIFIC_BAD_REQUEST,
TOO_EARLY,
}
}