diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-02 23:37:44 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-10 23:15:26 +0200 |
| commit | 07e0063870725506447a0ad29a6b92bb8c8c4e0b (patch) | |
| tree | c63463f24732171040530bcce4363a236d199a68 /include | |
| parent | b43adf9a005f93550167c36a33c183ebedd1362d (diff) | |
http: Support HEAD
Diffstat (limited to 'include')
| -rw-r--r-- | include/slweb/http.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
