"Fossies" - the Fresh Open Source Software Archive

Member "curl-7.67.0/docs/cmdline-opts/url.d" (25 Mar 2019, 648 Bytes) of package /linux/www/curl-7.67.0.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) D source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "url.d" see the Fossies "Dox" file reference documentation.

    1 Long: url
    2 Arg: <url>
    3 Help: URL to work with
    4 ---
    5 Specify a URL to fetch. This option is mostly handy when you want to specify
    6 URL(s) in a config file.
    7 
    8 If the given URL is missing a scheme name (such as "http://" or "ftp://" etc)
    9 then curl will make a guess based on the host. If the outermost sub-domain
   10 name matches DICT, FTP, IMAP, LDAP, POP3 or SMTP then that protocol will be
   11 used, otherwise HTTP will be used. Since 7.45.0 guessing can be disabled by
   12 setting a default protocol, see --proto-default for details.
   13 
   14 This option may be used any number of times. To control where this URL is
   15 written, use the --output or the --remote-name options.