cURL / Mailing Lists / curl-library / Single Mail

curl-library

Error returns are dropped

From: Cary Fitzhugh <cfitzhugh_at_anystream.com>
Date: Tue, 1 May 2007 08:27:24 -0400

Hi all -

 

We have a client which connects using libcurl. At times, we receive a
4XX response code. And in that response message there is some data,
like why things failed, etc. It seems that we can't get libcurl to give
us that data back. It appears that once libcurl sees the 4XX response
it just drops the message body or closes the connection. Is there a
flag or something we can set which will allow that data to be read?

 

Thanks,

Cary FitzHugh
Received on 2007-05-01