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
79173af930
commit
b25fbc4604
@ -97,7 +97,7 @@ open class UploadFileFromFileSystemOperation(
|
|||||||
}
|
}
|
||||||
|
|
||||||
putMethod = PutMethod(URL(client.userFilesWebDavUri.toString() + WebdavUtils.encodePath(remotePath)), fileRequestBody!!).apply {
|
putMethod = PutMethod(URL(client.userFilesWebDavUri.toString() + WebdavUtils.encodePath(remotePath)), fileRequestBody!!).apply {
|
||||||
setRetryOnConnectionFailure(false)
|
retryOnConnectionFailure = false
|
||||||
if (!requiredEtag.isNullOrBlank()) {
|
if (!requiredEtag.isNullOrBlank()) {
|
||||||
addRequestHeader(HttpConstants.IF_MATCH_HEADER, requiredEtag)
|
addRequestHeader(HttpConstants.IF_MATCH_HEADER, requiredEtag)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user