Added new CURLOPT_HEADERFUNCTION callback for writing headers only

This commit is contained in:
Daniel Stenberg
2001-04-10 06:49:32 +00:00
parent ac510ab6a4
commit 025fa762f6
3 changed files with 15 additions and 1 deletions

View File

@@ -485,6 +485,9 @@ struct UrlData {
/* function that stores the output:*/
curl_write_callback fwrite;
/* optional function that stores the header output:*/
curl_write_callback fwrite_header;
/* function that reads the input:*/
curl_read_callback fread;