summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-30 08:43:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-30 08:43:52 +0000
commit1a2c3acb3bdf95875231c78130b2f4f81cefc4f0 (patch)
tree2e3c2abaa9c71f789901682e71ef14124250a160
parentb54d7527832ab137e4cd12836ea321c55ffcd90c (diff)
downloadgnurl-1a2c3acb3bdf95875231c78130b2f4f81cefc4f0.tar.gz
gnurl-1a2c3acb3bdf95875231c78130b2f4f81cefc4f0.tar.bz2
gnurl-1a2c3acb3bdf95875231c78130b2f4f81cefc4f0.zip
elaborated more in CURLOPT_HTTPHEADER section
-rw-r--r--docs/curl_easy_setopt.38
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/curl_easy_setopt.3 b/docs/curl_easy_setopt.3
index 8a644dc5a..cee667390 100644
--- a/docs/curl_easy_setopt.3
+++ b/docs/curl_easy_setopt.3
@@ -2,7 +2,7 @@
.\" nroff -man [file]
.\" Written by daniel@haxx.se
.\"
-.TH curl_easy_setopt 3 "27 March 2001" "libcurl 7.7" "libcurl Manual"
+.TH curl_easy_setopt 3 "30 March 2001" "libcurl 7.7" "libcurl Manual"
.SH NAME
curl_easy_setopt - Set curl easy-session options
.SH SYNOPSIS
@@ -274,7 +274,11 @@ curl_slist' structs properly filled in. Use
.I curl_slist_append(3)
to create the list and
.I curl_slist_free_all(3)
-to clean up an entire list.
+to clean up an entire list. If you add a header that is otherwise generated
+and used by libcurl internally, your added one will be used instead. If you
+add a header with no contents as in 'Accept:', the internally used header will
+just get disabled. Thus, using this option you can add new headers, replace
+internal headers and remove internal headers.
.TP
.B CURLOPT_HTTPPOST
Tells libcurl you want a multipart/formdata HTTP POST to be made and you