mirror of
https://github.com/curl/curl.git
synced 2026-07-10 21:07:17 +03:00
- GHA/windows: mention `IgnoreStandardErrorWarningFormat=true` in comment. - cmake: fix MIT/GNU GSS order in messages. - drop some exclamation marks from messages. - drop redundant ending newlines from messages. - fold/unfold where possible. - fix indent, whitespace, typos and other nits. Closes #22185
24 lines
1.1 KiB
Markdown
24 lines
1.1 KiB
Markdown
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
|
<!-- SPDX-License-Identifier: curl -->
|
|
# URL
|
|
The URL syntax is protocol-dependent. You can find a detailed description in
|
|
RFC 3986.
|
|
|
|
If you provide a URL without a leading `protocol://` scheme, curl guesses
|
|
what protocol you want. It then defaults to HTTP but assumes others based on
|
|
often-used hostname prefixes. For example, for hostnames starting with `ftp.`
|
|
curl assumes you want FTP.
|
|
|
|
You can specify any amount of URLs on the command line. They are fetched in a
|
|
sequential manner in the specified order unless you use --parallel. You can
|
|
specify command line options and URLs mixed and in any order on the command
|
|
line.
|
|
|
|
curl attempts to reuse connections when doing multiple transfers, so that
|
|
getting many files from the same server does not use multiple connects and
|
|
setup handshakes. This improves speed. Connection reuse can only be done for
|
|
URLs specified for a single command line invocation and cannot be performed
|
|
between separate curl runs.
|
|
|
|
Everything provided on the command line that is not a command line option or
|
|
its argument, curl assumes is a URL and treats it as such.
|