curl-library
Re: (null) output from WriteMemoryCallback function
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 19 May 2004 10:35:51 +0200 (CEST)
Date: Wed, 19 May 2004 10:35:51 +0200 (CEST)
On Wed, 19 May 2004, Mark Warburton wrote:
> The results are very different. The command line version behaves as I
> expect it should from downloading the url in a web browser. libcurl, on the
> other hand, behaves DIFFERENTLY.
Welcome to reality! ;-)
I suggest you start with making your request similar to the curl command line
tool's. I guess this server responds differently based on differences in the
requests. Lack of user-agent might for example be what triggers this.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-05-19