cURL / Mailing Lists / curl-library / Single Mail


Re: Important info about caching

From: Daniel Stenberg <>
Date: Thu, 5 Feb 2004 13:16:56 +0100 (CET)

*** This mailing list is moving ***
*** ***
On Tue, 3 Feb 2004, codemastr wrote:

> On a side note, maybe it would be a good idea at lib/transfer.c ~872 and
> ~880, which is where the last-modified checks occur not return CURLE_OK?
> Maybe it should return CURLE_TIMECONDITION or something?

I kind of like this idea. The question is then only if that should be returned
when a 304-response is received as well?

> I just figured I'd share this info with everyone since I'm sure there are
> others who might have the same problem. And also the fact that when I asked
> Daniel never mentioned this whole thing to me so I'm sure other people saw
> Daniel say my code was OK so they just copied it :)

Thanks for providing this info. I didn't think of this case when I replied
back then, and your post here might indeed be helpful to others!

    Daniel Stenberg -- --
   [[ Do not send mails to this email address. They won't reach me. ]]
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
Received on 2004-02-05