introduce string_view

This commit is contained in:
Chunting Gu
2021-06-17 18:58:53 +08:00
parent 751a3539ae
commit 26bb6b341a
38 changed files with 404 additions and 344 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ void Server::Handle(ConnectionPtr connection) {
}
// Save the (regex matched) URL args to request object.
request->set_args(args);
request->set_args(std::move(args));
// Ask the matched view to process the request.
ResponsePtr response = view->Handle(request);