the default debugfunction shows incoming headers as well

This commit is contained in:
Daniel Stenberg 2003-04-09 11:57:06 +00:00
parent a4ffcfd4d5
commit 3c3ad134ea
1 changed files with 1 additions and 0 deletions

View File

@ -408,6 +408,7 @@ int Curl_debug(struct SessionHandle *data, curl_infotype type,
switch(type) {
case CURLINFO_TEXT:
case CURLINFO_HEADER_OUT:
case CURLINFO_HEADER_IN:
fwrite(s_infotype[type], 2, 1, data->set.err);
fwrite(ptr, size, 1, data->set.err);
break;