diff Framework/HttpQueries/DetectTransferPlugin.h @ 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/HttpQueries/DetectTransferPlugin.h	Tue Jul 12 17:49:40 2022 +0200
+++ b/Framework/HttpQueries/DetectTransferPlugin.h	Wed Oct 19 21:12:57 2022 +0200
@@ -61,6 +61,9 @@
     virtual void HandleAnswer(const void* answer,
                               size_t size);
 
+    virtual void GetHttpHeaders(std::map<std::string, std::string>& headers) const
+    {/* no headers for this general purpose request*/}
+
     static void Apply(Result& result,
                       size_t threadsCount,
                       unsigned int timeout);