From: Daniel Stenberg Date: Fri, 5 Jun 2020 12:10:52 +0000 (+0200) Subject: user-agent.d: spell out what happens given a blank argument X-Git-Tag: curl-7_71_0~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95a65804096aee920fea608e87e2bb2b7a7bdfde;p=thirdparty%2Fcurl.git user-agent.d: spell out what happens given a blank argument Closes #5525 --- diff --git a/docs/cmdline-opts/user-agent.d b/docs/cmdline-opts/user-agent.d index de73f723f9..c6dd2e5849 100644 --- a/docs/cmdline-opts/user-agent.d +++ b/docs/cmdline-opts/user-agent.d @@ -9,4 +9,8 @@ Specify the User-Agent string to send to the HTTP server. To encode blanks in the string, surround the string with single quote marks. This header can also be set with the --header or the --proxy-header options. +If you give an empty argument to --user-agent (""), it will remove the header +completely from the request. If you prefer a blank header, you can set it to a +single space (" "). + If this option is used several times, the last one will be used.