 		if (SPIFFS.exists(pathWithGz))
 			path += ".gz";
 		File file = SPIFFS.open(path, "r");
+		log_dbg("streaming size: %u\n\r", file.size());
 		size_t sent = server->streamFile(file, contentType);
+		log_dbg("stream return sent: %u\n\r", sent);
 		file.close();
 		path = String();
 		contentType = String();

		json = String();
	});
	server->on("/wifiscan", HTTP_GET, []() {
		log_dbg("scan start\r\n");
		int n = WiFi.scanNetworks();
		log_dbg("scan done\r\n");

			server->send(204, "text/plain", "No WLAN found");
			log_dbg("No WLAN found\r\n");
		}
		scanning = false;
	});
	server->on("/ip", HTTP_GET, []() {
		String ipstr = String();
