diff --git a/main.cpp b/main.cpp index 2bb365b..d5503f4 100644 --- a/main.cpp +++ b/main.cpp @@ -139,6 +139,9 @@ int main(int ac, const char* av[]) { CROW_ROUTE(app, "/block/") ([&](const crow::request& req, string block_hash) { + for (const auto& m : req.headers) + cout << m.first << ": " << m.second << endl; + // there is some robot scanning everything // on the explorer. I block it with this if (!xmreg::does_header_has(req, "Accept", "q=.2, */*; q=.2").empty())