From 79a91b8168056002705c9f0aebcb1a6b323a1b4c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 12 Jan 2009 21:29:23 +0000 Subject: make this example not only replace an internal header but also add a totally new and non-standard one --- docs/examples/httpcustomheader.c | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/examples') 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"); -- cgit v1.2.3