blob: a659b840dc5fb701d35e0d6a31fd5298ea21bf9a [file] [log] [blame]
Long: proto-default
Help: Use PROTOCOL for any URL missing a scheme
Arg: <protocol>
Added: 7.45.0
Category: connection curl
Example: --proto-default https ftp.example.com
---
Tells curl to use *protocol* for any URL missing a scheme name.
An unknown or unsupported protocol causes error
*CURLE_UNSUPPORTED_PROTOCOL* (1).
This option does not change the default proxy protocol (http).
Without this option set, curl guesses protocol based on the host name, see
--url for details.