cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Specifying an exact http header

From: Roth, Kevin P. <KPRoth_at_MarathonOil.com>
Date: Wed, 28 Nov 2001 15:26:42 -0500

curl https://httpshost.domain.com:7443/GatewayDC --http1.0 -H "Pragma:"
-H "User-Agent:"

then add back whatever other parms you used to set the referer and the
data to be posted.

The -H's are normally used to add extra headers to the request, however
they can also be used to delete headers by not specifying any value.

The --http1.0 will change the version number.

I'm guessing you left off the "/GatewayDC" part of the URL during your
testing. That's where the POST line gets it from.

--Kevin
Received on 2001-11-28