lwip-contrib-mac/head_support.h.patch

16 lines
393 B
Diff

diff --git a/apps/httpserver_raw/httpd.h b/apps/httpserver_raw/httpd.h
index 3962f72..e0a9d18 100644
--- a/apps/httpserver_raw/httpd.h
+++ b/apps/httpserver_raw/httpd.h
@@ -59,6 +59,10 @@ extern "C" {
#define LWIP_HTTPD_SUPPORT_POST 0
#endif
+/** Set this to 1 to support HTTP HEAD */
+#ifndef LWIP_HTTPD_SUPPORT_HEAD
+#define LWIP_HTTPD_SUPPORT_HEAD 0
+#endif
#if LWIP_HTTPD_CGI