diff --git a/src/httpserver/string_response.hpp b/src/httpserver/string_response.hpp index d2bff4a8..527b3966 100644 --- a/src/httpserver/string_response.hpp +++ b/src/httpserver/string_response.hpp @@ -55,6 +55,10 @@ class string_response : public http_response { MHD_Response* get_raw_response(); + const std::string& get_content() const { + return content; + } + private: std::string content = ""; };