user-agent.md: mention double quotes too

Reported-by: Jeremy Nicoll
Bug: https://curl.se/mail/archive-2026-04/0029.html
Closes #21477
This commit is contained in:
Daniel Stenberg 2026-04-30 22:50:27 +02:00
parent ecc8bf6be2
commit d0717acaf0
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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