tmp show headers
This commit is contained in:
parent
6d3ca3d531
commit
9b3a27baa9
4
main.cpp
4
main.cpp
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue