----------------------------------------------------------------------

Message: 1
Date: Fri, 15 Aug 2014 14:16:32 +0200 (CEST)
From: Daniel Stenberg <dan...@haxx.se>
To: libcurl development <curl-library@cool.haxx.se>
Subject: Re: Download from Url malformed?
Message-ID: <alpine.deb.2.00.1408151414300.23...@tvnag.unkk.fr>
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII

On Fri, 15 Aug 2014, antispammbox-debian wrote:

But donwload fails!

No it doesn't:

< HTTP/1.1 302 Moved Temporarily
< Date: Thu, 14 Aug 2014 10:31:41 GMT
* Server Apache is not blacklisted
< Server: Apache
< X-Powered-By: Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA
date=2
00710221139)/Tomcat-5.5
< Cache-Control: no-store, no-cache, must-revalidate
< Location: http://www.aeiou.it/aeiou-gis/images/noaccess.gif

That's a successful HTTP transfer.

There's no response-body though and it is a 302 redirect which you quite
likely want to follow to download the data that Location: points to. You
can
use CURLOPT_FOLLOWLOCATION for that!

--

 / daniel.haxx.se



Ok,  Many thanks


Regards

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to