diff options
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_REFERER.3')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_REFERER.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_REFERER.3 b/docs/libcurl/opts/CURLOPT_REFERER.3 index e02257552..934788933 100644 --- a/docs/libcurl/opts/CURLOPT_REFERER.3 +++ b/docs/libcurl/opts/CURLOPT_REFERER.3 @@ -43,10 +43,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); } |