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

Fix an error after rebasing with latest version

This commit is contained in:
Abel García de Prada 2022-06-09 11:25:37 +02:00
parent 592bef2e22
commit 784341a294

View File

@ -97,7 +97,7 @@ open class UploadFileFromFileSystemOperation(
}
putMethod = PutMethod(URL(client.userFilesWebDavUri.toString() + WebdavUtils.encodePath(remotePath)), fileRequestBody!!).apply {
setRetryOnConnectionFailure(false)
retryOnConnectionFailure = false
if (!requiredEtag.isNullOrBlank()) {
addRequestHeader(HttpConstants.IF_MATCH_HEADER, requiredEtag)
}