Files
iw3sp-mod/deps/curl/docs/cmdline-opts/user-agent.md
2024-03-12 22:41:56 +03:00

718 B

c, SPDX-License-Identifier, Short, Long, Arg, Help, Protocols, Category, Added, Multi, See-also, Example
c SPDX-License-Identifier Short Long Arg Help Protocols Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl A user-agent <name> Send User-Agent <name> to server HTTP important http 4.5.1 single
header
proxy-header
-A "Agent 007" $URL

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

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 single space (" ").