anyauth.d 931 B

12345678910111213141516171819202122
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: anyauth
  4. Help: Pick any authentication method
  5. Protocols: HTTP
  6. See-also: proxy-anyauth basic digest
  7. Category: http proxy auth
  8. Example: --anyauth --user me:pwd $URL
  9. Added: 7.10.6
  10. ---
  11. Tells curl to figure out authentication method by itself, and use the most
  12. secure one the remote site claims to support. This is done by first doing a
  13. request and checking the response-headers, thus possibly inducing an extra
  14. network round-trip. This is used instead of setting a specific authentication
  15. method, which you can do with --basic, --digest, --ntlm, and --negotiate.
  16. Using --anyauth is not recommended if you do uploads from stdin, since it may
  17. require data to be sent twice and then the client must be able to rewind. If
  18. the need should arise when uploading from stdin, the upload operation will
  19. fail.
  20. Used together with --user.