From 2484da5ebcea7a687632111148f6d0bc1a84bd7a Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Thu, 19 Aug 2021 15:55:19 +0200 Subject: [PATCH] MINOR: httpclient/cli: change the User-Agent to "HAProxy" Change the User-Agent from "HAProxy HTTP client" to "HAProxy" as the previous name is not valid according to RFC 7231#5.5.3. This patch fixes issue #1354. --- src/http_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http_client.c b/src/http_client.c index ea9786049..b949e09d2 100644 --- a/src/http_client.c +++ b/src/http_client.c @@ -45,7 +45,7 @@ static struct applet httpclient_applet; */ static struct http_hdr default_httpclient_hdrs[2] = { - { .n = IST("User-Agent"), .v = IST("HAProxy HTTP client") }, + { .n = IST("User-Agent"), .v = IST("HAProxy") }, { .n = IST_NULL, .v = IST_NULL }, };