diff options
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_HEADERDATA.3')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_HEADERDATA.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_HEADERDATA.3 b/docs/libcurl/opts/CURLOPT_HEADERDATA.3 index 73dcc2bb9..fe7c692bb 100644 --- a/docs/libcurl/opts/CURLOPT_HEADERDATA.3 +++ b/docs/libcurl/opts/CURLOPT_HEADERDATA.3 @@ -60,7 +60,7 @@ static size_t header_callback(char *buffer, size_t size, CURL *curl = curl_easy_init(); if(curl) { struct my_info my = { 10, "the cookies are in the cupboard" }; - curl_easy_setopt(curl, CURLOPT_URL, "http://example.com"); + curl_easy_setopt(curl, CURLOPT_URL, "https://example.com"); curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, header_callback); |