diff options
author | Nils Gillmann <ng0@n0.is> | 2018-11-10 16:48:24 +0000 |
---|---|---|
committer | Nils Gillmann <ng0@n0.is> | 2018-11-10 16:48:24 +0000 |
commit | 92533ade41f9b4860248c92bbcb3ee5d2bac0d66 (patch) | |
tree | 56919dee5ad5455a75045e7e0ead8eabc7bd5886 /docs/examples/postit2.c | |
parent | 544c3c6aed15d4198ccc1d38cfaee6329faadaf0 (diff) | |
parent | 196677150f711a96c38ed123e621f1d4e995b2e5 (diff) | |
download | gnurl-92533ade41f9b4860248c92bbcb3ee5d2bac0d66.tar.gz gnurl-92533ade41f9b4860248c92bbcb3ee5d2bac0d66.tar.bz2 gnurl-92533ade41f9b4860248c92bbcb3ee5d2bac0d66.zip |
Merge tag 'curl-7_62_0'
7.62.0
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'docs/examples/postit2.c')
-rw-r--r-- | docs/examples/postit2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/postit2.c b/docs/examples/postit2.c index d357ecc2f..81d61c489 100644 --- a/docs/examples/postit2.c +++ b/docs/examples/postit2.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -78,7 +78,7 @@ int main(int argc, char *argv[]) wanted */ headerlist = curl_slist_append(headerlist, buf); /* what URL that receives this POST */ - curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/examplepost.cgi"); + curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/examplepost.cgi"); if((argc == 2) && (!strcmp(argv[1], "noexpectheader"))) /* only disable 100-continue header if explicitly requested */ curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist); |