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