Search found 1 match

by dimecho
Wed Mar 04, 2020 9:12 pm
Forum: General Discussion
Topic: [Question] Serving GZIPped content from SPIFFS
Replies: 1
Views: 7605

Re: [Question] Serving GZIPped content from SPIFFS

Code: Select all

AsyncWebServerResponse *response = request->beginResponse(SPIFFS, "/index.html.gz", "text/html", false);
response->addHeader("Content-Encoding", "gzip");
request->send(response);