From ba3a3553dc14b59d08522010806fc7976e1d7590 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 27 Mar 2001 08:41:37 +0000 Subject: [PATCH] Added some text to WRITEHEADER about the fact that libcurl will always write complete header lines one-by-one to that file handle --- docs/curl_easy_setopt.3 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/curl_easy_setopt.3 b/docs/curl_easy_setopt.3 index 34c6474..8078e2b 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 "13 March 2001" "libcurl 7.7" "libcurl Manual" +.TH curl_easy_setopt 3 "27 March 2001" "libcurl 7.7" "libcurl Manual" .SH NAME curl_easy_setopt - Set curl easy-session options .SH SYNOPSIS @@ -313,7 +313,9 @@ struct curl_slist structs properly filled in as described for .I "CURLOPT_QUOTE" .TP .B CURLOPT_WRITEHEADER -Pass a FILE * to be used to write the header part of the received data to. +Pass a FILE * to be used to write the header part of the received data to. The +headers are guaranteed to be written one-by-one to this file handle and only +complete lines are written. Parsing headers should be easy enough using this. .TP .B CURLOPT_COOKIEFILE Pass a pointer to a zero terminated string as parameter. It should contain the -- 2.7.4