From 6c5f4303fe531f2b8772cedfe275b8bbe839ab4b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 16 Nov 2015 08:26:22 +0100 Subject: CURLMOPT_PUSHFUNCTION.3: *_byname() returns only the first header ... if there are more than one using the same name --- docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3 b/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3 index 6a360e793..9c579615e 100644 --- a/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3 +++ b/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3 @@ -77,7 +77,8 @@ Returns the header at index 'num' (or NULL). The returned pointer points to a Returns the value for the given header name (or NULL). This is a shortcut so that the application doesn't have to loop through all headers to find the one it is interested in. The data pointed will be freed when this callback -returns. +returns. If more than one header field use the same name, this returns only +the first one. .SH CALLBACK RETURN VALUE .IP "CURL_PUSH_OK (0)" The application has accepted the stream and it can now start receiving data, -- cgit v1.2.3