diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-06-05 14:10:52 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-06-05 14:10:52 +0200 |
commit | 695444d68b7bd1748f538e0086cf390d7c20616a (patch) | |
tree | c34caa11ce9484a5572e621ee390d7419be81ae2 | |
parent | a00668d2961dc3e2340c4c30375051ec8b55c68c (diff) | |
download | curl-695444d68b7bd1748f538e0086cf390d7c20616a.tar.gz |
user-agent.d: spell out what happens given a blank argumentbagder/flag-user-agent
-rw-r--r-- | docs/cmdline-opts/user-agent.d | 4 |
1 files changed, 4 insertions, 0 deletions
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. |