Upgrade ESPAsyncWebServer from 2.10.8 to 3.1.2
This commit is contained in:
parent
a17aa031dd
commit
03137e15dd
@ -38,7 +38,7 @@ build_unflags =
|
||||
-std=gnu++11
|
||||
|
||||
lib_deps =
|
||||
mathieucarbou/ESP Async WebServer @ 2.10.8
|
||||
mathieucarbou/ESPAsyncWebServer @ 3.1.2
|
||||
bblanchon/ArduinoJson @ 7.0.4
|
||||
https://github.com/bertmelis/espMqttClient.git#v1.7.0
|
||||
nrf24/RF24 @ 1.4.8
|
||||
|
||||
@ -42,7 +42,7 @@ void WebApiWebappClass::responseBinaryDataWithETagCache(AsyncWebServerRequest *r
|
||||
if (eTagMatch) {
|
||||
response = request->beginResponse(304);
|
||||
} else {
|
||||
response = request->beginResponse_P(200, contentType, content, len);
|
||||
response = request->beginResponse(200, contentType, content, len);
|
||||
if (contentEncoding.length() > 0) {
|
||||
response->addHeader("Content-Encoding", contentEncoding);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user