summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/user-agent.d
blob: ec2ca82bb31b06ea72aae2f40fe560e210f8bd82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Short: A
Long: user-agent
Arg: <name>
Help: Send User-Agent <name> to server
Protocols: HTTP
Category: important http
---

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.