-->
Page 3 of 3

Re: esp8266 html gzip

PostPosted: Tue May 11, 2021 6:51 pm
by GastonMelo
is it possible? Or I need to change the code?
Regards
Gastón

Re: esp8266 html gzip

PostPosted: Wed May 12, 2021 6:12 am
by btidey
I find that way from the example of handling requests confusing and complicated.

In my view it is easier / better to use the server.on method.

Look at the examples under ESP8266WebServer e.g HelloServer for a really basic use of server.on or FSBrowser for a more complete way of getting responses from the filing system.

Note that within a server.on request handler one can get any arguments associated with the request very easily using server.arg() rather than having to parse the raw request.