From ac7e8b2318a0e118d4cb7ced49d109c40908cb85 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 21 Mar 2021 00:24:14 +0000 Subject: fix content-type headers, and store a day's worth of weather data --- app/lwip/lwipopts.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/lwip') diff --git a/app/lwip/lwipopts.h b/app/lwip/lwipopts.h index b3e37c7..a44c06c 100644 --- a/app/lwip/lwipopts.h +++ b/app/lwip/lwipopts.h @@ -216,6 +216,8 @@ The STM32F4x7 allows computing and verifying the IP, UDP, TCP and ICMP checksums #define LWIP_HTTPD_CUSTOM_FILES 1 #define LWIP_HTTPD_FILE_STATE 0 #define LWIP_HTTPD_CGI 1 +#define LWIP_HTTPD_DYNAMIC_HEADERS 1 +#define HTTPD_ADDITIONAL_CONTENT_TYPES {"dat", HTTP_CONTENT_TYPE("application/octet-stream")} #define LWIP_IGMP 1 #define LWIP_MDNS_RESPONDER 1 -- cgit v1.2.3