mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-11 01:41:49 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue