Skip to content

Commit

Permalink
Also add destination header to initial chunk folder MKCOL
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and backportbot-nextcloud[bot] committed Oct 16, 2023
1 parent 7af9062 commit 2b96501
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libsync/propagateuploadng.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ void PropagateUploadFileNG::startNewUpload()

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

connect(job, &MkColJob::finishedWithError,
Expand Down

0 comments on commit 2b96501

Please sign in to comment.