mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Fix an error after rebasing with latest version
This commit is contained in:
parent
df07be666d
commit
e83c7e58ee
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user