mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-02 13:47:56 +02: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() {
|
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
|
//13
|
||||||
compiled_body += "<html>"
|
compiled_body += "<html>"
|
||||||
|
Loading…
Reference in New Issue
Block a user