cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: HTTP - conditional request support

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 6 Sep 2007 16:39:10 +0200 (CEST)

On Thu, 6 Sep 2007, Anca Vamanu wrote:

> I would like to use libcurl and I am interested if it offers support for
> conditional HTTP requests using Etags, through the addition of headers such
> as If-Match or If-not-Match. I have searched a bit through the documentation
> and did not find a reference to this until now, but I hope I haven't
> searched enough.

curl allows you to add any custom headers you want, and that's the support for
these particular header that it has. Nothing fancier.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-09-06