]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
user-agent.d: spell out what happens given a blank argument
authorDaniel Stenberg <daniel@haxx.se>
Fri, 5 Jun 2020 12:10:52 +0000 (14:10 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 5 Jun 2020 15:59:19 +0000 (17:59 +0200)
Closes #5525

docs/cmdline-opts/user-agent.d

index de73f723f94e023a374b6b189e86b16a680bf86d..c6dd2e58495f1ca2310e2b71ef0ea1fa87798d57 100644 (file)
@@ -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.