cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Fwd: Bug#256838: Libcurl uses obsolete no-cache variant

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 29 Jun 2004 15:47:42 +0200 (CEST)

On Tue, 29 Jun 2004, Domenico Andreoli wrote:

> Libcurl uses the following header on all requests:
>
> Pragma: no-cache

I consider this a very minor bug, if even a bug at all.

I've left it like that since it's been there for ages (more than six years
IIRC). I don't see it hurting anyone, but yes it might not have any effect in
some - or even most - cases.

Also, remember that libcurl itself usually has no clue if it speaks with a
HTTP 1.0 or 1.1 server until after it receives the ressponse.

I have no plans to change this, and it is very easy for all users of the
command line tool and library to replace it or prevent it from being sent
using provided methods, should users care enough.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-06-29