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