Not caught in CI.
Closes #20308
For each hsts entry:
- [host name] "YYYYMMDD HH:MM:SS"
+ [hostname] "YYYYMMDD HH:MM:SS"
-The `[host name]` is dot-prefixed if it includes subdomains.
+The `[hostname]` is dot-prefixed if it includes subdomains.
The time stamp is when the entry expires.
Force curl to get and display a local help page in case it is invoked without
URL by making a config file similar to:
- # default url to get
+ # default URL to get
url = "https://help.with.curl.example.com/curlhelp.html"
You can specify another config file to be read by using the `-K`/`--config`
To tell curl to use a user and password for authentication:
- curl --user name:password https://www.example.com
+ curl --user myname:password https://www.example.com
## Other Authentication
/* send image data from memory */
curl_mime_data(part, imagebuf, sizeof(imagebuf));
- /* set a file name to make it look like a file upload */
+ /* set a filename to make it look like a file upload */
curl_mime_filename(part, "image.png");
/* set name */
# variables $libcurl_feature_xxx and $libcurl_protocol_yyy are also
# defined to 'yes' for those features and protocols that were found.
# Note that xxx and yyy keep the same capitalization as in the
-# curl-config list (e.g. it's "HTTP" and not "http").
+# curl-config list (e.g. it is "HTTP" and not "http").
#
# Users may override the detected values by doing something like:
# LIBCURL="-lcurl" LIBCURL_CPPFLAGS="-I/usr/myinclude" ./configure
/* The list of cookies in cookies.txt are not be imported until right
before a transfer is performed. Cookies in the list that have the same
hostname, path and name as in my_cookie are skipped. That is because
- libcurl has already imported my_cookie and it's considered a "live"
+ libcurl has already imported my_cookie and it is considered a "live"
cookie. A live cookie is not replaced by one read from a file.
*/
curl_easy_setopt(curl, CURLOPT_COOKIEFILE, "cookies.txt"); /* import */
curl_easy_setopt(curl, CURLOPT_DOH_URL,
"https://cloudflare-dns.com/dns-query");
- /* Disable host name verification of the DoH server */
+ /* Disable hostname verification of the DoH server */
curl_easy_setopt(curl, CURLOPT_DOH_SSL_VERIFYHOST, 0L);
curl_easy_perform(curl);
struct curl_httppost *lastptr;
/* Fill in the file upload field. This makes libcurl load data from
- the given file name when curl_easy_perform() is called. */
+ the given filename when curl_easy_perform() is called. */
curl_formadd(&formpost,
&lastptr,
CURLFORM_COPYNAME, "sendfile",
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
/* use this proxy */
curl_easy_setopt(curl, CURLOPT_PROXY, "http://proxy.example:80");
- /* ... but make sure this host name is not proxied */
+ /* ... but make sure this hostname is not proxied */
curl_easy_setopt(curl, CURLOPT_NOPROXY, "www.example.com");
curl_easy_perform(curl);
}
}
# stat keys where we expect a positive value
ref_tl = []
- # time_queue has it's own start timestamp. Other timers start *after*
+ # time_queue has its own start timestamp. Other timers start *after*
# queueing is done. queue duration might therefore be anywhere.
somewhere_keys = ['time_queue']
exact_match = True