diff --git a/webserv/router/Router.cpp b/webserv/router/Router.cpp index 0b1ae47..11f66ae 100644 --- a/webserv/router/Router.cpp +++ b/webserv/router/Router.cpp @@ -29,17 +29,6 @@ Router::Router(Client *client) : client_(client) Log::trace(LOCATION); } -// bool Router::isMethodSupported(const std::string &method, const AConfig &config) noexcept -// { -// const ADirective *allowedMethods = config.getDirective("allowed_methods"); -// if (allowedMethods == nullptr || !allowedMethods->getValue().try_get>().has_value()) -// { -// return true; -// } -// auto methods = allowedMethods->getValue().get>(); -// return std::ranges::find(methods, method) != methods.end(); -// } - std::unique_ptr Router::handleRequest() { Log::trace(LOCATION);