generated from Sithas/conan_template
TASK00 - Стабилизация бэкенда
This commit is contained in:
@@ -47,6 +47,8 @@ void HandleRequest(
|
||||
return res;
|
||||
};
|
||||
|
||||
// /v1/api/MyOwnUrl?query=123 // посмотреть парсер url'ов
|
||||
|
||||
if (req.method() != boost::beast::http::verb::get &&
|
||||
req.method() != boost::beast::http::verb::head)
|
||||
return send(bad_request("Unknown boost::beast::HTTP-method"));
|
||||
|
||||
Reference in New Issue
Block a user