cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: remove headers received from server

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 11 Aug 2007 16:40:04 +0200 (CEST)

On Sat, 11 Aug 2007, Antel wrote:

> When I download a page it send(up to html) the headers of server like this:
> perl perl_interface.pl www.google.com
> HTTP/1.0 200 OK
> Cache-Control: private
> Content-Type: text/html; charset=ISO-8859-1
> Set-Cookie: .
> Server: GWS/2.1
> Date: .
> Connection: close
>
> How I remove it? I try with verbose 0 and didnt find nothing on web or
> mailinglist, its cause of my sockets?

If you tell us about what you do it is easier for us to help you... But if you
used the code you showed before, you should probably read the documentation
for the options you're using. Like CURLOPT_HEADER for example.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-08-11