proto-default.d 463 B

123456789101112131415161718
  1. Long: proto-default
  2. Help: Use PROTOCOL for any URL missing a scheme
  3. Arg: <protocol>
  4. Added: 7.45.0
  5. ---
  6. Tells curl to use \fIprotocol\fP for any URL missing a scheme name.
  7. Example:
  8. curl --proto-default https ftp.mozilla.org
  9. An unknown or unsupported protocol causes error
  10. \fICURLE_UNSUPPORTED_PROTOCOL\fP (1).
  11. This option does not change the default proxy protocol (http).
  12. Without this option curl would make a guess based on the host, see --url for
  13. details.