curl-users
RE: Preventing Pragma: no-cache
Date: Tue, 9 Jul 2002 17:09:23 +0200
Thank you Kevin. It works fine, with and w/o the enclosing quotes. I should
have read the man more attentively :(
-----Original Message-----
From: Roth, Kevin P. [mailto:KPRoth_at_MarathonOil.com]
Sent: Tuesday, July 09, 2002 3:22 PM
To: Guy Chemla
Cc: Curl Mailing List (E-mail)
Subject: RE: Preventing Pragma: no-cache
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