tmp show headers

This commit is contained in:
moneroexamples 2016-08-20 18:58:15 +08:00
parent 6d3ca3d531
commit 9b3a27baa9
1 changed files with 2 additions and 2 deletions

View File

@ -103,8 +103,8 @@ int main(int ac, const char* av[]) {
CROW_ROUTE(app, "/")
([&](const crow::request& req) {
//for (const auto& m : req.headers)
// cout << m.first << ": " << m.second << endl;
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