cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Feature-Request for libcurl, was: Making a directory

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 21 Dec 2001 09:05:03 +0100 (MET)

On Wed, 19 Dec 2001, Daniel Stenberg wrote:

(talking to myself again)

> What if we instead made it work this way (using already supported options):
>
> Set CURLOPT_NOBODY to TRUE!

I've now committed code that is supposed to make this work in the next
release. Based on how you set the two options CURLOPT_NOBODY and
CURLOPT_HEADERS you control what kind of data an FTP download results in:

Result CURLOPT_NOBODY CURLOPT_HEADERS

Normal transfer FALSE FALSE
Only "header" TRUE TRUE
No transfer, no header TRUE FALSE

case closed! ;-)

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-12-21