anyauth.d 829 B

1234567891011121314151617181920
  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. Added: 7.10.6
  8. ---
  9. Tells curl to figure out authentication method by itself, and use the most
  10. secure one the remote site claims to support. This is done by first doing a
  11. request and checking the response-headers, thus possibly inducing an extra
  12. network round-trip. This is used instead of setting a specific authentication
  13. method, which you can do with --basic, --digest, --ntlm, and --negotiate.
  14. Using --anyauth is not recommended if you do uploads from stdin, since it may
  15. require data to be sent twice and then the client must be able to rewind. If
  16. the need should arise when uploading from stdin, the upload operation will
  17. fail.
  18. Used together with --user.