2016-11-16 06:44:58 +08:00
|
|
|
Short: A
|
|
|
|
Long: user-agent
|
|
|
|
Arg: <name>
|
|
|
|
Help: Send User-Agent <name> to server
|
|
|
|
Protocols: HTTP
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: important http
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: -A "Agent 007" $URL
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
|
|
|
Specify the User-Agent string to send to the HTTP server. To encode blanks in
|
2018-03-16 06:52:43 +08:00
|
|
|
the string, surround the string with single quote marks. This header can also
|
|
|
|
be set with the --header or the --proxy-header options.
|
2016-11-16 06:44:58 +08:00
|
|
|
|
2020-06-05 20:10:52 +08:00
|
|
|
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 (" ").
|
|
|
|
|
2016-11-16 06:44:58 +08:00
|
|
|
If this option is used several times, the last one will be used.
|