Example HTTP server fixes

This commit is contained in:
Vinnie Falco
2017-08-08 17:38:48 -07:00
parent 0175102151
commit d613feae01
14 changed files with 38 additions and 86 deletions

View File

@@ -191,7 +191,7 @@ handle_request(
return send(std::move(res));
}
// Respond to HEAD request
// Respond to GET request
http::response<http::file_body> res{
std::piecewise_construct,
std::make_tuple(std::move(body)),