summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_HEADER.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-16 23:04:07 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-16 23:04:07 +0200
commit9e078211cedcce94288d5ca40c95708c2f95685e (patch)
tree5c3b619e5ad138c58eb41a3866430a618afd2b63 /docs/libcurl/opts/CURLOPT_HEADER.3
parent1556b99f1a4f6627c442980d4d4f41e61008045a (diff)
downloadcurl-9e078211cedcce94288d5ca40c95708c2f95685e.tar.gz
man pages: switch to https://example.com URLs
Since HTTPS is "the new normal", this update changes a lot of man page examples to use https://example.com instead of the previous "http://..."
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_HEADER.3')
-rw-r--r--docs/libcurl/opts/CURLOPT_HEADER.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_HEADER.3 b/docs/libcurl/opts/CURLOPT_HEADER.3
index 0cd7b6fac..dd4a3fe07 100644
--- a/docs/libcurl/opts/CURLOPT_HEADER.3
+++ b/docs/libcurl/opts/CURLOPT_HEADER.3
@@ -55,7 +55,7 @@ Most
.nf
CURL *curl = curl_easy_init();
if(curl) {
- curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
+ curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
curl_easy_setopt(curl, CURLOPT_HEADER, 1L);