mirror of
https://github.com/curl/curl.git
synced 2026-07-09 07:47:17 +03:00
config2setopts: use default protocol properly
Verified by test 1724, 1725 and 2036 Closes #21983
This commit is contained in:
parent
410f3ca585
commit
ab3bb8cd8b
6 changed files with 146 additions and 23 deletions
|
|
@ -16,7 +16,8 @@ Example:
|
|||
|
||||
# `--proto-default`
|
||||
|
||||
Use *protocol* for any provided URL missing a scheme.
|
||||
Use *protocol* for any provided URL missing a scheme. The case-insensitive
|
||||
name should be given without any `://` suffix.
|
||||
|
||||
An unknown or unsupported protocol causes error *CURLE_UNSUPPORTED_PROTOCOL*.
|
||||
|
||||
|
|
@ -24,3 +25,6 @@ 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.
|
||||
|
||||
The default protocol cannot be set to `ipfs` or `ipns`. Those schemes need to
|
||||
be used explicitly in the URL.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue