1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

http client: allow HEAD method at h1 client bind

This commit is contained in:
Zevv 2020-01-21 12:59:46 +00:00 committed by Andy Green
parent af391e62ba
commit e6f3aafe13

View file

@ -927,7 +927,7 @@ rops_adoption_bind_h1(struct lws *wsi, int type, const char *vh_prot_name)
#if defined(LWS_WITH_CLIENT)
static const char * const http_methods[] = {
"GET", "POST", "OPTIONS", "PUT", "PATCH", "DELETE", "CONNECT"
"GET", "POST", "OPTIONS", "HEAD", "PUT", "PATCH", "DELETE", "CONNECT"
};
static int