From 07e0063870725506447a0ad29a6b92bb8c8c4e0b Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Mon, 2 Oct 2023 23:37:44 +0200 Subject: http: Support HEAD --- include/slweb/http.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/slweb/http.h b/include/slweb/http.h index f5963dc..68ffb9a 100644 --- a/include/slweb/http.h +++ b/include/slweb/http.h @@ -10,7 +10,8 @@ struct http_payload enum http_op { HTTP_OP_GET, - HTTP_OP_POST + HTTP_OP_POST, + HTTP_OP_HEAD } op; const char *resource; -- cgit v1.2.3