aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_HEADER.3
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-06-24 00:00:34 +0200
committerDan Fandrich <dan@coneharvesters.com>2014-06-24 00:00:34 +0200
commitd8287ca8bc446ccab89064874d1738715cb02ffa (patch)
treec857ee8a2e211a45029086d8d5ebd40d45b6bda4 /docs/libcurl/opts/CURLOPT_HEADER.3
parentcf1f8d4528b0c1215a3717262f795205d3d1bc87 (diff)
opts: added some DEFAULT and RETURN VALUE sections
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_HEADER.3')
-rw-r--r--docs/libcurl/opts/CURLOPT_HEADER.35
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_HEADER.3 b/docs/libcurl/opts/CURLOPT_HEADER.3
index aa1afc499..130575aaa 100644
--- a/docs/libcurl/opts/CURLOPT_HEADER.3
+++ b/docs/libcurl/opts/CURLOPT_HEADER.3
@@ -31,7 +31,6 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_HEADER, long onoff);
Pass in \fIonoff\fP set to 1 to tell the library to include the header in the
body output for requests with this \fIhandle\fP. This option is relevant for
protocols that actually have headers or other meta-data (like HTTP and FTP).
-The default value for this option is 0.
When asking to get the header info passed to the same callback as the body, it
is not possible to accurately separate them again without detailed knowledge
@@ -39,5 +38,9 @@ about the protocol in use.
It is often better to use \fICURLOPT_HEADERFUNCTION(3)\fP to get the header
data separately.
+.SH DEFAULT
+0
+.SH RETURN VALUE
+Returns CURLE_OK.
.SH "SEE ALSO"
.BR CURLOPT_HEADERFUNCTION "(3), "