mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-02-20 15:14:26 +01:00
Added doctype declaration.
This commit is contained in:
parent
b3c1b6ccac
commit
6aae520ed4
@ -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 += "<!DOCTYPE html>";
|
||||
|
||||
//13
|
||||
compiled_body += "<html>"
|
||||
|
Loading…
Reference in New Issue
Block a user