proto-default.d 481 B

12345678910111213141516
  1. Long: proto-default
  2. Help: Use PROTOCOL for any URL missing a scheme
  3. Arg: <protocol>
  4. Added: 7.45.0
  5. Category: connection curl
  6. Example: --proto-default https ftp.example.com
  7. ---
  8. Tells curl to use *protocol* for any URL missing a scheme name.
  9. An unknown or unsupported protocol causes error
  10. *CURLE_UNSUPPORTED_PROTOCOL* (1).
  11. This option does not change the default proxy protocol (http).
  12. Without this option set, curl guesses protocol based on the host name, see
  13. --url for details.