curl-library
Re: obtaining the 'reason' string in HTTP response
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 21 Jan 2009 12:28:17 -0800
Date: Wed, 21 Jan 2009 12:28:17 -0800
On Wed, Jan 21, 2009 at 12:01:58PM -0800, C K Tan wrote:
> Is there an easy way to obtain the 'reason' string in a http response,
> perhaps via curl_easy_getinfo()? Or I must manually parse it using
> curl_easy_setopt(CURLOPT_HEADERFUNCTION)?
The reason string isn't kept around by libcurl, so you'll have to do as
you suggest and parse it yourself.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2009-01-21