cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl and squid

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 20 Feb 2003 13:35:46 +0100 (CET)

On Thu, 20 Feb 2003, Philippe Raoult wrote:

> > libcurl DOES send a "pragma: no-cache" in all its packets. If you don't
> > want that, disable that header with HTTPHEADER.
>
> what's the clean way ?

The above mentioned way.

> my program used to have curl_slist_append(headers, "pragma:"); but i
> removed it on account of not understanding it :) Is there a better way or
> shall i just revert my change ?

Revert back to that way, as that is how to do it!

-- 
 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-20