cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl not returning all data

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 10 Dec 2003 15:25:17 +0100 (CET)

On Tue, 9 Dec 2003, Andrew Ingram wrote:

> You mentioned in a previous email the command line program uses an agent
> string whilst libcurl does not. Can you point me towards an example of how I
> can do this?

The man page:

        http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTUSERAGENT

And how the curl tool sets the string:

        http://curl.haxx.se/lxr/source/src/main.c#L3071

> Do you have any other ideas what it might be?

Not really. Try setting VERBOSE in your program and use the command line's -v
option and compare how the requests are made to the site.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-10