Add footer string into request.

This commit is contained in:
Relintai 2020-12-26 00:17:36 +01:00
parent 225f943e4e
commit 8f5c1fa4cc
2 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,7 @@ void Request::compile_body() {
"<body>";
compiled_body += body;
compiled_body += footer;
//15
compiled_body += "</body>"
@ -66,6 +67,7 @@ void Request::reset() {
head.clear();
body.clear();
footer.clear();
compiled_body.clear();
if (response)

View File

@ -25,6 +25,7 @@ public:
std::string head;
std::string body;
std::string footer;
std::string compiled_body;
void compile_body();