diff options
Diffstat (limited to 'brep/search.cxx')
-rw-r--r-- | brep/search.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/brep/search.cxx b/brep/search.cxx index 93690e4..9e6ab4b 100644 --- a/brep/search.cxx +++ b/brep/search.cxx @@ -4,9 +4,8 @@ #include <brep/search> -#include <ostream> -#include <iostream> #include <chrono> +#include <ostream> #include <web/module> @@ -25,7 +24,7 @@ namespace brep info << "handling search request from "; // << rq.client_ip (); - ostream& o (rs.content (200, "text/html;charset=utf-8", false)); + ostream& o (rs.content (200, "text/html;charset=utf-8", true)); o << "<html><head></head><body><b>Params:</b>"; @@ -47,7 +46,7 @@ namespace brep o << "<br>\n<b>Cookies:</b>"; - for (const auto& c : rq.cookies ()) + for (const auto& c: rq.cookies ()) { o << "<br>\n" << c.name << "=" << c.value << " "; } |