1
0
镜像自地址 https://github.com/owncloud/android-library.git 已同步 2025-07-09 07:28:55 +00:00

比较提交

..

2 次代码提交

作者 SHA1 备注 提交日期
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

查看文件

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