collect all headers for any callback based handler

This commit is contained in:
Me No Dev 2015-12-19 21:09:29 +02:00
parent 457db5e7f5
commit f302509f9e
2 changed files with 1 additions and 1 deletions

View File

@ -53,6 +53,7 @@ class AsyncCallbackWebHandler: public AsyncWebHandler {
if(_uri.length() > 1 && (_uri != request->url() && !request->url().startsWith(_uri+"/")))
return false;
request->addInterestingHeader("ANY");
return true;
}
void handleRequest(AsyncWebServerRequest *request){

View File

@ -35,7 +35,6 @@ void AsyncWebServer::_handleRequest(AsyncWebServerRequest *request){
return;
}
}
request->addInterestingHeader("ANY");
request->setHandler(_catchAllHandler);
}