CURLMOPT_PUSHFUNCTION.3: *_byname() returns only the first header

... if there are more than one using the same name
This commit is contained in:
Daniel Stenberg 2015-11-16 08:26:22 +01:00
parent 39904d6f7d
commit 6c5f4303fe
1 changed files with 2 additions and 1 deletions

View File

@ -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,