Upload: Do not error out if the server do not send the X-OC-MTime: accepted header
authorOlivier Goffart <ogoffart@woboq.com>
Tue, 9 Oct 2018 07:20:15 +0000 (09:20 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:11 +0000 (10:58 +0100)
commit18f6e346b8c3ad34e9a49f526d3a122553ce1bae
treea7c6b650faefc86a3e687fddbb9f564a6348e0cd
parenta985ea8624d398c3ecb1f1da4ab996bfcc6f35c5
Upload: Do not error out if the server do not send the X-OC-MTime: accepted header

If the server does not set the mtime, it is not a big problem for the
synchronisation.

The test was used before so we could do a PROPPATCH for server that did not
support this header. But now that all server supports that we don't need to
to the check. (We do not do the PROPPATCH since we got rid of the neon
dependency)

Apparently, it may happen that some backend don't support setting mtime
and this can lead to this error.

https://github.com/owncloud/client/issues/6797
src/libsync/propagateuploadv1.cpp