cURL
Haxx ad
libcurl
Automatically get a mirror near you





COMPARE PRICES:
Digital cameras, MP3 Players, Camcorders, Mobile phones, PDA, Computers, Electronics LCD monitors, Printers, Notebook, DVD Players, Motherboards, TV, ipod, Processors. See all...

Shopping cart software
Online collaboration software

SourceForge.net Logo

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

RE: Preventing Pragma: no-cache

From: Roth, Kevin P. <KPRoth_at_MarathonOil.com>
Date: Tue, 9 Jul 2002 09:21:45 -0400

The following should do it:

  curl -H "Pragma:" http://host/file

"-H" specifies a custom header, in the form "Name: Value" (same as the rest of the headers you can see by specifying -v). Specifying just "Name:" without the corresponding Value will delete a built-in header from the list.

Thanks,
--Kevin

-----Original Message-----
From: Guy Chemla [mailto:Guy.Chemla_at_allot.com]
Sent: Tuesday, July 09, 2002 7:31 AM

Could someone please explain how to prevent cURL 7.9.8 from generating the
header field Pragma: no-cache?

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
Received on 2002-07-09

These mail archives are generated by hypermail.

donate! Page updated October 16, 2006.
web site info