aboutsummaryrefslogtreecommitdiffstats
path: root/src/tipideed/cgi.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-03-24 22:16:32 +0000
committerLaurent Bercot <ska@appnovation.com>2025-03-24 22:16:32 +0000
commitfc3255cf6939d22cc54240c5c9be1fddcfea8beb (patch)
tree03aa4f093d6e21981b4fbf10d3edb4c63e9fc352 /src/tipideed/cgi.c
parent7adb5cfb425dd927b3e78f1a9da75d825f6a3904 (diff)
downloadtipidee-fc3255cf6939d22cc54240c5c9be1fddcfea8beb.tar.gz
Add PATCH support, accept PUT/DELETE/PATCH on cgi
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed/cgi.c')
-rw-r--r--src/tipideed/cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tipideed/cgi.c b/src/tipideed/cgi.c
index 069d045..905792c 100644
--- a/src/tipideed/cgi.c
+++ b/src/tipideed/cgi.c
@@ -338,7 +338,7 @@ static inline int do_cgi (tipidee_rql *rql, char const *docroot, char const *con
buffer_putsnoflush(buffer_1, fmt) ;
buffer_putnoflush(buffer_1, "\r\n", 2) ;
}
- else if (autochunk && rql->m != TIPIDEE_METHOD_HEAD)
+ else if (autochunk)
buffer_putsnoflush(buffer_1, "Transfer-Encoding: chunked\r\n") ;
buffer_putnoflush(buffer_1, "\r\n", 2) ;