cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: my simple program works differently from linux curl command

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 14 Jun 2011 10:19:28 +0200 (CEST)

On Tue, 14 Jun 2011, Richard wrote:

> My program fails in getting image, the printed out message looks like this:

> But if I use curl with default option and verbose mode, it download the
> image succesfully and print out message like this:

> From the above two verbose messages, it is really hard for me to figure out
> what is wrong.

If you compare the HTTP requests curl vs libcurl did, I suspect that you will
find the answer there.

> curl 7.15.5

Released on Aug 7 2006, approaching 5 years old
We've done 27 releases since then, with 683 documented bugfixes

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-14