summaryrefslogtreecommitdiff
path: root/uhttpd.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-08-21 11:39:15 +0200
committerJo-Philipp Wich <jo@mein.io>2018-08-21 14:23:02 +0200
commit30a18cb4bfd8c9997e40d9cd9c8562a751d61ecf (patch)
tree107257641ad8c9d2978e22a3ddfe9fb3fd3133a4 /uhttpd.h
parent796d42bceed2015bb00309a3bf0f49279b070c19 (diff)
uhttpd: recognize PATCH, PUT and DELETE HTTP methods
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'uhttpd.h')
-rw-r--r--uhttpd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/uhttpd.h b/uhttpd.h
index 374cd72..8d6022a 100644
--- a/uhttpd.h
+++ b/uhttpd.h
@@ -92,6 +92,9 @@ enum http_method {
UH_HTTP_MSG_POST,
UH_HTTP_MSG_HEAD,
UH_HTTP_MSG_OPTIONS,
+ UH_HTTP_MSG_PUT,
+ UH_HTTP_MSG_PATCH,
+ UH_HTTP_MSG_DELETE,
};
enum http_version {