aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/curl_easy_setopt.36
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/curl_easy_setopt.3 b/docs/curl_easy_setopt.3
index 29e23c03a..37569dce7 100644
--- a/docs/curl_easy_setopt.3
+++ b/docs/curl_easy_setopt.3
@@ -218,7 +218,11 @@ set a cookie in the http request. The format of the string should be
.B CURLOPT_HTTPHEADER
Pass a pointer to a linked list of HTTP headers to pass to the server in your
HTTP request. The linked list should be a fully valid list of 'struct
-HttpHeader' structs properly filled in. TBD!
+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.
.TP
.B CURLOPT_HTTPPOST
Pass a pointer to a linked list of HTTP post data to pass to the server in