relay: do forward data if the http request type was HEAD
[project/uhttpd.git] / cgi.c
diff --git a/cgi.c b/cgi.c
index 7b47e7d..c4438b0 100644 (file)
--- a/cgi.c
+++ b/cgi.c
@@ -107,6 +107,7 @@ static bool check_cgi_path(struct path_info *pi, const char *url)
 }
 
 struct dispatch_handler cgi_dispatch = {
+       .script = true,
        .check_path = check_cgi_path,
        .handle_request = cgi_handle_request,
 };