curl/docs/cmdline-opts/proto-default.md
Daniel Stenberg 6e494a2390
docs: more language cleanups
- present tense
- avoid bad words

Closes #13003
2024-02-27 16:19:43 +01:00

649 B

c SPDX-License-Identifier Long Help Arg Added Category Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl proto-default Use PROTOCOL for any URL missing a scheme <protocol> 7.45.0 connection curl single
proto
proto-redir
--proto-default https ftp.example.com

--proto-default

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 hostname, see --url for details.