docs/HSTS.md+2 -2
| @@ -36,9 +36,9 @@ Lines starting with `#` are ignored. |
| |
| 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. |
| |
docs/MANUAL.md+1 -1
| @@ -594,7 +594,7 @@ line parameter, like: |
| 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` |
docs/TheArtOfHttpScripting.md+1 -1
| @@ -385,7 +385,7 @@ SPDX-License-Identifier: curl |
| |
| 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 |
| |
docs/libcurl/curl_mime_filename.md+1 -1
| @@ -68,7 +68,7 @@ int main(void) |
| /* 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 */ |
docs/libcurl/libcurl.m4+1 -1
| @@ -46,7 +46,7 @@ |
| # 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 |
docs/libcurl/opts/CURLOPT_COOKIELIST.md+1 -1
| @@ -98,7 +98,7 @@ int main(void) |
| /* 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 */ |
docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYHOST.md+1 -1
| @@ -74,7 +74,7 @@ int main(void) |
| 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); |
docs/libcurl/opts/CURLOPT_HTTPPOST.md+1 -1
| @@ -61,7 +61,7 @@ int main(void) |
| 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", |
docs/libcurl/opts/CURLOPT_NOPROXY.md+1 -1
| @@ -77,7 +77,7 @@ int main(void) |
| 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); |
| } |
tests/http/testenv/curl.py+1 -1
| @@ -526,7 +526,7 @@ class ExecResult: |
| } |
| # 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 |