From 6aae520ed45117c7ad956b2c8cfbd809d1ac8e8c Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 30 Oct 2021 23:32:06 +0200 Subject: [PATCH] Added doctype declaration. --- core/http/request.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 += ""