From d0717acaf0fcf102bf8e59a1e0c6dce3a00feeb0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 30 Apr 2026 22:50:27 +0200 Subject: [PATCH] user-agent.md: mention double quotes too Reported-by: Jeremy Nicoll Bug: https://curl.se/mail/archive-2026-04/0029.html Closes #21477 --- docs/cmdline-opts/user-agent.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cmdline-opts/user-agent.md b/docs/cmdline-opts/user-agent.md index a24bd28449..d81b65d34f 100644 --- a/docs/cmdline-opts/user-agent.md +++ b/docs/cmdline-opts/user-agent.md @@ -19,8 +19,8 @@ Example: # `--user-agent` 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. +the string, surround the string with single or double 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 removes the header completely from the request. If you prefer a blank header, you can set it to a