diff options
-rw-r--r-- | docs/examples/httpcustomheader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/examples/httpcustomheader.c b/docs/examples/httpcustomheader.c index 13e62e657..1551fafe2 100644 --- a/docs/examples/httpcustomheader.c +++ b/docs/examples/httpcustomheader.c @@ -21,6 +21,7 @@ int main(void) struct curl_slist *chunk = NULL; chunk = curl_slist_append(chunk, "Accept: moo"); + chunk = curl_slist_append(chunk, "Another: yes"); /* request with the built-in Accept: */ curl_easy_setopt(curl, CURLOPT_URL, "localhost"); |