From 8c92c41820760bb487eb0fcb3124d9fce219679a Mon Sep 17 00:00:00 2001
From: Sergey Linev <S.Linev@gsi.de>
Date: Wed, 10 Jul 2019 09:11:32 +0200
Subject: [PATCH] [http] make THttpCallArg::ReplaceAllinContent public

Up to now was used in internal ROOT methods, but now can be reused
to modify already prepared http reply in RWebWindow
---
 net/http/inc/THttpCallArg.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net/http/inc/THttpCallArg.h b/net/http/inc/THttpCallArg.h
index a2a2241652c..dc20d29763a 100644
--- a/net/http/inc/THttpCallArg.h
+++ b/net/http/inc/THttpCallArg.h
@@ -61,8 +61,6 @@ protected:
 
    TString CountHeader(const TString &buf, Int_t number = -1111) const;
 
-   void ReplaceAllinContent(const std::string &from, const std::string &to, bool once = false);
-
    /** Method used to modify content of web page used by web socket handler */
    virtual void CheckWSPageContent(THttpWSHandler *) {}
 
@@ -201,6 +199,7 @@ public:
 
    void SetContent(const char *cont);
    void SetContent(std::string &&cont);
+   void ReplaceAllinContent(const std::string &from, const std::string &to, bool once = false);
 
    Bool_t CompressWithGzip();
 
-- 
GitLab