#pragma once #include namespace DB { /// Response with 404 and verbose description. class NotFoundHandler : public HTTPRequestHandler { public: explicit NotFoundHandler(std::vector hints_) : hints(std::move(hints_)) {} void handleRequest(HTTPServerRequest & request, HTTPServerResponse & response, const ProfileEvents::Event & write_event) override; private: std::vector hints; }; }