diff --git a/core/request.cpp b/core/request.cpp index 817a2bd..17840e2 100644 --- a/core/request.cpp +++ b/core/request.cpp @@ -14,6 +14,7 @@ void Request::compile_body() { ""; compiled_body += body; + compiled_body += footer; //15 compiled_body += "" @@ -66,6 +67,7 @@ void Request::reset() { head.clear(); body.clear(); + footer.clear(); compiled_body.clear(); if (response) diff --git a/core/request.h b/core/request.h index 1c77c44..c34a89f 100644 --- a/core/request.h +++ b/core/request.h @@ -25,6 +25,7 @@ public: std::string head; std::string body; + std::string footer; std::string compiled_body; void compile_body();