cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl and squid

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 19 Feb 2003 23:31:58 +0100 (CET)

On Tue, 18 Feb 2003, Santiago Gallego wrote:

> I am developing a squid module and I decided to use libcurl for HTTP
> traffic. But I can't get it to use squid as a cache, like if libcurl would
> send a "no-cache" in all its packets.

libcurl DOES send a "pragma: no-cache" in all its packets. If you don't want
that, disable that header with HTTPHEADER.

> I use libcurl v7.8.1 for linux

You should seriously consider to upgrade. That is a really old version.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
Received on 2003-02-19