aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-22 17:22:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-22 17:22:30 +0000
commita20eb6df1b4affbec9cec60a9df4f97fe7c77dbe (patch)
tree1fcdb6014e646e90ac359f5159edb06100808847 /docs
parentd73425061ab5154b1d1218bc1f6f5c3bfea26b5c (diff)
reset CURLOPT_HTTPHEADER with NULL
Diffstat (limited to 'docs')
-rw-r--r--docs/libcurl/curl_easy_setopt.32
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index 67b44496d..95d699a11 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -534,6 +534,8 @@ The first line in a request (usually containing a GET or POST) is not a header
and cannot be replaced using this option. Only the lines following the
request-line are headers.
+Pass a NULL to this to reset back to no custom headers.
+
\fBNOTE:\fP The most commonly replaced headers have "shortcuts" in the options
\fICURLOPT_COOKIE\fP, \fICURLOPT_USERAGENT\fP and \fICURLOPT_REFERER\fP.
.IP CURLOPT_HTTP200ALIASES