projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f9038b
)
make this example not only replace an internal header but also add a totally
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 12 Jan 2009 21:29:23 +0000
(21:29 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 12 Jan 2009 21:29:23 +0000
(21:29 +0000)
new and non-standard one
docs/examples/httpcustomheader.c
patch
|
blob
|
history
diff --git
a/docs/examples/httpcustomheader.c
b/docs/examples/httpcustomheader.c
index
13e62e6
..
1551faf
100644
(file)
--- 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");