mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2026-01-26 08:42:19 +01:00
collect all headers for the default handler
This commit is contained in:
@@ -65,6 +65,7 @@ void AsyncWebServer::_handleRequest(AsyncWebServerRequest *request){
|
||||
return;
|
||||
}
|
||||
}
|
||||
request->addInterestingHeader("ANY");
|
||||
request->setHandler(_catchAllHandler);
|
||||
}
|
||||
|
||||
@@ -118,5 +119,3 @@ void AsyncWebServer::onFileUpload(ArUploadHandlerFunction fn){
|
||||
void AsyncWebServer::onRequestBody(ArBodyHandlerFunction fn){
|
||||
((AsyncCallbackWebHandler*)_catchAllHandler)->onBody(fn);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user