1 | #pragma once |
---|---|
2 | |
3 | #include <Poco/Net/HTTPRequestHandler.h> |
4 | |
5 | |
6 | namespace DB |
7 | { |
8 | |
9 | /// Response with 404 and verbose description. |
10 | class NotFoundHandler : public Poco::Net::HTTPRequestHandler |
11 | { |
12 | public: |
13 | void handleRequest( |
14 | Poco::Net::HTTPServerRequest & request, |
15 | Poco::Net::HTTPServerResponse & response) override; |
16 | }; |
17 | |
18 | } |
19 |