feat(lander): support DELETE requests
This commit is contained in:
parent
a4ad8c246e
commit
3d48ee8019
4 changed files with 42 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#include "http_loop.h"
|
||||
#include "lsm/store.h"
|
||||
|
||||
extern http_route lander_routes[4];
|
||||
extern http_route lander_routes[5];
|
||||
|
||||
typedef struct lander_gctx {
|
||||
const char *data_dir;
|
||||
|
|
@ -57,4 +57,6 @@ bool lander_get_entry_lsm(event_loop_conn *conn);
|
|||
|
||||
bool lander_post_redirect_body_to_attr(event_loop_conn *conn);
|
||||
|
||||
bool lander_remove_entry(event_loop_conn *conn);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue