mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 22:31:28 +02:00
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.
This commit is contained in:
parent
03a4eb154f
commit
2484da5ebc
@ -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 },
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user