mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 02:41:35 +03:00
add DELETE method handling to http.c
This commit is contained in:
parent
e7536749fe
commit
2a8ab89f43
@ -842,6 +842,7 @@ _http_request_to_noun(u3_hreq* req_u)
|
||||
case u3_hmet_get: { med = c3__get; break; }
|
||||
case u3_hmet_head: { med = c3__head; break; }
|
||||
case u3_hmet_post: { med = c3__post; break; }
|
||||
case u3_hmet_delete: { med = c3__delt; break; }
|
||||
}
|
||||
url = u3i_string(req_u->url_c);
|
||||
hed = _http_heds_to_list(req_u->hed_u);
|
||||
|
Loading…
Reference in New Issue
Block a user