mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:03:40 +03:00
docs: use valid example domain names
Replace .site domains and domain.com with valid example domains. Fixes #16269 Closes #16270
This commit is contained in:
parent
116950a250
commit
a042c67df3
6 changed files with 7 additions and 7 deletions
|
|
@ -582,7 +582,7 @@ Example, set default time out and proxy in a config file:
|
|||
# We want a 30 minute timeout:
|
||||
-m 1800
|
||||
# ... and we use a proxy for all accesses:
|
||||
proxy = proxy.our.domain.com:8080
|
||||
proxy = proxy.our.domain.example.com:8080
|
||||
|
||||
Whitespaces ARE significant at the end of lines, but all whitespace leading
|
||||
up to the first characters of each line are ignored.
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@ On Windows two filenames in the home directory are checked: *.netrc* and
|
|||
only.
|
||||
|
||||
A quick and simple example of how to setup a *.netrc* to allow curl to FTP to
|
||||
the machine host.domain.com with username 'myself' and password 'secret' could
|
||||
the machine host.example.com with username 'myself' and password 'secret' could
|
||||
look similar to:
|
||||
|
||||
machine host.domain.com
|
||||
machine host.example.com
|
||||
login myself
|
||||
password secret
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ int main(void)
|
|||
curl = curl_easy_init();
|
||||
if(curl) {
|
||||
/* what call to write: */
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "HTTPS://your.favourite.ssl.site");
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "HTTPS://secure.site.example");
|
||||
curl_easy_setopt(curl, CURLOPT_HEADERDATA, headerfile);
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
|
|
|||
|
|
@ -194,7 +194,7 @@ One of the most basic properties to set in the handle is the URL. You set your
|
|||
preferred URL to transfer with CURLOPT_URL(3) in a manner similar to:
|
||||
|
||||
~~~c
|
||||
curl_easy_setopt(handle, CURLOPT_URL, "http://domain.com/");
|
||||
curl_easy_setopt(handle, CURLOPT_URL, "http://example.com/");
|
||||
~~~
|
||||
|
||||
Let's assume for a while that you want to receive data as the URL identifies a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue