diff options
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_REFERER.3')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_REFERER.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/libcurl/opts/CURLOPT_REFERER.3 b/docs/libcurl/opts/CURLOPT_REFERER.3 index 47320344..b95f8974 100644 --- a/docs/libcurl/opts/CURLOPT_REFERER.3 +++ b/docs/libcurl/opts/CURLOPT_REFERER.3 @@ -20,7 +20,7 @@ .\" * .\" ************************************************************************** .\" -.TH CURLOPT_REFERER 3 "June 25, 2020" "libcurl 7.72.0" "curl_easy_setopt options" +.TH CURLOPT_REFERER 3 "September 16, 2020" "libcurl 7.73.0" "curl_easy_setopt options" .SH NAME CURLOPT_REFERER \- set the HTTP referer header @@ -44,10 +44,10 @@ HTTP .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"); /* tell it where we found the link to this place */ - curl_easy_setopt(curl, CURLOPT_REFERER, "http://example.com/aboutme.html"); + curl_easy_setopt(curl, CURLOPT_REFERER, "https://example.com/aboutme.html"); curl_easy_perform(curl); } |