diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2009-01-12 21:29:23 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2009-01-12 21:29:23 +0000 |
| commit | 79a91b8168056002705c9f0aebcb1a6b323a1b4c (patch) | |
| tree | f31ae03f764dd7c696e7a39e75057e39b52f0512 | |
| parent | 2f9038bf629335d0b23a7bde2e002bf587a2cd33 (diff) | |
make this example not only replace an internal header but also add a totally
new and non-standard one
| -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"); |
