curl-users
RE: Preventing Pragma: no-cache
From: Roth, Kevin P. <KPRoth_at_MarathonOil.com>
Date: Tue, 9 Jul 2002 09:21:45 -0400
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