cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP header

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Mon, 12 Dec 2005 07:24:09 -0600

I'm not an expert, but I don't think curl does that unless you tell it
to. So, what options are you setting?? If CURLOPT_HEADER is among
them, that's defined as: "A non-zero parameter tells the library to
include the header in the body output." Don't set it...

Ralph Mitchell

On 12/12/05, Laurent COBAI <l.cobai_at_applicam.com> wrote:
> Hello,
> I'm using curl to post some data to a webservice using the soap method.
> It's working fine. The answer of the webservice is written to a file for
> later processing.
> Here is the content of that file:
>
> HTTP/1.1 200 OK
> Via: 1.1 SRV_WEB
> Content-Length: 387
> Date: Mon, 12 Dec 2005 10:46:31 GMT
> Content-Type: text/xml; charset=utf-8
> Server: Microsoft-IIS/5.0
> X-Powered-By: ASP.NET
> X-AspNet-Version: 1.1.4322
> Cache-Control: private, max-age=0
>
> <?xml version="1.0" encoding="utf-8"?><soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PutFichierQB64Response
> xmlns="http://tempuri.org/wsApplisys/wsCEsys"><PutFichierQB64Result>1</PutFichierQB64Result></PutFichierQB64Response></soap:Body></soap:Envelope>
>
> My question is: Is there a Libcurl option for making curl remove the
> header "HTTP/1.1 200 OK.......".
> Thanks !
>
> Laurent COBAI.
>
>
Received on 2005-12-12