diff options
-rw-r--r-- | response.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/response.cpp b/response.cpp index f89e9e4..2320379 100644 --- a/response.cpp +++ b/response.cpp @@ -318,7 +318,7 @@ response_type generate_response(request_type& req, Server& server) return HttpStatusAndStats("200", "OK", req_ctx, res); } catch(const std::out_of_range& ex) { - return HttpStatus("400", "Bad request: Host "s + std::string{req["host"]} + ":"s + std::string{req.target()} + " unknown"s, res); + return HttpStatus("400", "Bad request: "s + std::string{req["host"]} + ":"s + std::string{req.target()} + " unknown"s, res); } catch(const std::exception& ex) { return HttpStatus("400", "Bad request: "s + std::string{ex.what()}, res); } |