cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Not getting a 304 response condition for CURLOPT_TIMECONDITION?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 22 Feb 2006 19:51:39 +0100 (CET)

On Wed, 22 Feb 2006, Tony Metters wrote:

> I notice that the FTP server displays the message 'document not new enough'
> but it seems that it is NOT 'proper' header transaction data ( I tried to
> grab this into memory and make my decision based on this string but it did
> not appear)

It isn't the server that displays that text, it is written by libcurl.

> Is it true to say that actual header info is what the server marks with a
> '>' or '<'

< is from a server
> is to the server

... and you can receive them all with CURLOPT_DEBUGFUNCTION. However, you
should not assume that the libcurl-generated texts will be/remain exactly like
that.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-02-22