anyauth.d 815 B

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