Skip to content

Commit eb220d9

Browse files
committed
Also add destination header to initial chunk folder MKCOL
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
1 parent 230c4eb commit eb220d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libsync/propagateuploadng.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ void PropagateUploadFileNG::startNewUpload()
276276

277277
// But we should send the temporary (or something) one.
278278
headers["OC-Total-Length"] = QByteArray::number(_fileToUpload._size);
279+
headers["Destination"] = destinationHeader();
279280
const auto job = new MkColJob(propagator()->account(), chunkUploadFolderUrl(), headers, this);
280281

281282
connect(job, &MkColJob::finishedWithError,

0 commit comments

Comments
 (0)