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 mgallien committed Oct 16, 2023
1 parent 2b9b182 commit f6140f5
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 f6140f5

Please sign in to comment.