mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 10:52:12 +03:00
Merge remote-tracking branch 'ohaitch/hmet_delete'
DELETE method support for http.c
This commit is contained in:
commit
f5c877aecd
@ -842,6 +842,7 @@ _http_request_to_noun(u3_hreq* req_u)
|
|||||||
case u3_hmet_get: { med = c3__get; break; }
|
case u3_hmet_get: { med = c3__get; break; }
|
||||||
case u3_hmet_head: { med = c3__head; break; }
|
case u3_hmet_head: { med = c3__head; break; }
|
||||||
case u3_hmet_post: { med = c3__post; break; }
|
case u3_hmet_post: { med = c3__post; break; }
|
||||||
|
case u3_hmet_delete: { med = c3__delt; break; }
|
||||||
}
|
}
|
||||||
url = u3i_string(req_u->url_c);
|
url = u3i_string(req_u->url_c);
|
||||||
hed = _http_heds_to_list(req_u->hed_u);
|
hed = _http_heds_to_list(req_u->hed_u);
|
||||||
|
Loading…
Reference in New Issue
Block a user