From 95a65804096aee920fea608e87e2bb2b7a7bdfde Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 5 Jun 2020 14:10:52 +0200 Subject: user-agent.d: spell out what happens given a blank argument Closes #5525 --- docs/cmdline-opts/user-agent.d | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/cmdline-opts/user-agent.d b/docs/cmdline-opts/user-agent.d index de73f723f..c6dd2e584 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. -- cgit v1.2.3