cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Headers only

From: Ken Weinert <Ken.Weinert_at_ihs.com>
Date: Tue, 23 Sep 2003 13:32:33 -0600

*sigh*

Never mind - just **moments** after sending that email out I realized
that I was returning just size, not size*nmemb so I would only get
the first header in all cases.

Sorry for bothering you all.

On Tue, Sep 23, 2003 at 01:11:13PM -0600, Ken Weinert wrote:
> I've looked in all the ways I can sort out, and can't figure
> out a way to only return the headers like the --head option in the
> command line curl.
>
> Can some kind person please point me towards an example or
> documentation on how to do this with the library?
>
> Thanks in advance.

-- 
   .--.     Ken Weinert   Ken.Weinert_at_ihs.com 
  |o_o |
  ||_/ |    303-858-6956 (V) 303-705-4258 (F) 
 //   \ \
(|     | )  GnuPG: 9274F1CE  GnuPG available at http://www.gnupg.org/
/'\_   _/`\ 
\___)=(___/ 1D87 3720 BB77 4489 A928  79D6 F8EC DD76 9274 F1CE
Recursion is the root of computation since it trades description for
time. -- Alan J. Perlis

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  • application/pgp-signature attachment: stored
Received on 2003-09-23