mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Add debug output of html page size
This commit is contained in:
parent
1d7cdccc5f
commit
de0d5b7331
@ -160,6 +160,10 @@ void webSendPage(String & nodename, uint32_t httpdatalength, bool gohome = false
|
||||
webServer.sendContent_P(HASP_STYLE); // 145
|
||||
if(gohome) webServer.sendContent_P(HTTP_META_GO_BACK); // 47
|
||||
webServer.sendContent_P(HTTP_HEADER_END); // 80
|
||||
|
||||
snprintf_P(buffer, sizeof(buffer), PSTR("HTTP: Sent page with %u static and %u dynamic bytes"), contentLength,
|
||||
httpdatalength);
|
||||
debugPrintln(buffer);
|
||||
}
|
||||
|
||||
void webHandleRoot()
|
||||
|
Loading…
x
Reference in New Issue
Block a user