mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
2bc1d775f5
- they are mostly pointless in all major jurisdictions - many big corporations and projects already don't use them - saves us from pointless churn - git keeps history for us - the year range is kept in COPYING checksrc is updated to allow non-year using copyright statements Closes #10205
21 lines
612 B
Makefile
21 lines
612 B
Makefile
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
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
|
|
See-also: proto proto-redir
|
|
Multi: single
|
|
---
|
|
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.
|