user-agent.d: spell out what happens given a blank argument

Closes #5525
This commit is contained in:
Daniel Stenberg 2020-06-05 14:10:52 +02:00
parent d957ed4941
commit 95a6580409
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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 the string, surround the string with single quote marks. This header can also
be set with the --header or the --proxy-header options. 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. If this option is used several times, the last one will be used.