mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
http: bind PUT and friends to mounts
This commit is contained in:
parent
eddecea3c8
commit
657cadf7c6
1 changed files with 3 additions and 0 deletions
|
@ -804,6 +804,9 @@ lws_find_mount(struct lws *wsi, const char *uri_ptr, int uri_len)
|
|||
((hm->origin_protocol == LWSMPRO_CGI ||
|
||||
lws_hdr_total_length(wsi, WSI_TOKEN_GET_URI) ||
|
||||
lws_hdr_total_length(wsi, WSI_TOKEN_POST_URI) ||
|
||||
lws_hdr_total_length(wsi, WSI_TOKEN_PUT_URI) ||
|
||||
lws_hdr_total_length(wsi, WSI_TOKEN_PATCH_URI) ||
|
||||
lws_hdr_total_length(wsi, WSI_TOKEN_DELETE_URI) ||
|
||||
lws_hdr_total_length(wsi, WSI_TOKEN_HEAD_URI) ||
|
||||
#if defined(LWS_ROLE_H2)
|
||||
(wsi->mux_substream &&
|
||||
|
|
Loading…
Add table
Reference in a new issue