Mercurial > hg > orthanc-transfers
diff Framework/PushMode/BucketPushQuery.cpp @ 44:f4e828607f02
Added 'SenderTransferID' option that is added as an HTTP header in outgoing requests in PushMode
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 19 Oct 2022 21:12:57 +0200 |
parents | 44a0430d7899 |
children | 1e396fb509ca |
line wrap: on
line diff
--- a/Framework/PushMode/BucketPushQuery.cpp Tue Jul 12 17:49:40 2022 +0200 +++ b/Framework/PushMode/BucketPushQuery.cpp Wed Oct 19 21:12:57 2022 +0200 @@ -32,12 +32,14 @@ const std::string& peer, const std::string& transactionUri, size_t bucketIndex, - BucketCompression compression) : + BucketCompression compression, + const std::map<std::string, std::string>& headers) : cache_(cache), bucket_(bucket), peer_(peer), uri_(transactionUri + "/" + boost::lexical_cast<std::string>(bucketIndex)), - compression_(compression) + compression_(compression), + headers_(headers) { }