mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-06 17:51:36 +02:00
Add footer string into request.
This commit is contained in:
parent
225f943e4e
commit
8f5c1fa4cc
@ -14,6 +14,7 @@ void Request::compile_body() {
|
|||||||
"<body>";
|
"<body>";
|
||||||
|
|
||||||
compiled_body += body;
|
compiled_body += body;
|
||||||
|
compiled_body += footer;
|
||||||
|
|
||||||
//15
|
//15
|
||||||
compiled_body += "</body>"
|
compiled_body += "</body>"
|
||||||
@ -66,6 +67,7 @@ void Request::reset() {
|
|||||||
|
|
||||||
head.clear();
|
head.clear();
|
||||||
body.clear();
|
body.clear();
|
||||||
|
footer.clear();
|
||||||
compiled_body.clear();
|
compiled_body.clear();
|
||||||
|
|
||||||
if (response)
|
if (response)
|
||||||
|
@ -25,6 +25,7 @@ public:
|
|||||||
|
|
||||||
std::string head;
|
std::string head;
|
||||||
std::string body;
|
std::string body;
|
||||||
|
std::string footer;
|
||||||
std::string compiled_body;
|
std::string compiled_body;
|
||||||
|
|
||||||
void compile_body();
|
void compile_body();
|
||||||
|
Loading…
Reference in New Issue
Block a user