diff --git a/core/http/request.cpp b/core/http/request.cpp index f767144..3e16f1f 100644 --- a/core/http/request.cpp +++ b/core/http/request.cpp @@ -38,7 +38,10 @@ const std::string &Request::get_parameter(const std::string &key) const { } void Request::compile_body() { - compiled_body.reserve(body.size() + head.size() + 13 + 14 + 15); + compiled_body.reserve(body.size() + head.size() + 15 + 13 + 14 + 15); + + //15 + compiled_body += ""; //13 compiled_body += ""