quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

anyauth.md (960B)


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