user-agent.d 687 B

1234567891011121314151617181920
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Short: A
  4. Long: user-agent
  5. Arg: <name>
  6. Help: Send User-Agent <name> to server
  7. Protocols: HTTP
  8. Category: important http
  9. Example: -A "Agent 007" $URL
  10. Added: 4.5.1
  11. See-also: header proxy-header
  12. Multi: single
  13. ---
  14. Specify the User-Agent string to send to the HTTP server. To encode blanks in
  15. the string, surround the string with single quote marks. This header can also
  16. be set with the --header or the --proxy-header options.
  17. If you give an empty argument to --user-agent (""), it will remove the header
  18. completely from the request. If you prefer a blank header, you can set it to a
  19. single space (" ").