From e6f3aafe13a74b89808a6585c11ddad6e406ebf8 Mon Sep 17 00:00:00 2001 From: Zevv Date: Tue, 21 Jan 2020 12:59:46 +0000 Subject: [PATCH] http client: allow HEAD method at h1 client bind --- lib/roles/h1/ops-h1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/roles/h1/ops-h1.c b/lib/roles/h1/ops-h1.c index 12d1860cf..3199feaaf 100644 --- a/lib/roles/h1/ops-h1.c +++ b/lib/roles/h1/ops-h1.c @@ -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