cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Download from Url malformed?

From: antispammbox-debian <antispammbox-debian_at_yahoo.it>
Date: Sat, 16 Aug 2014 16:47:05 +0200

>> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 15 Aug 2014 14:16:32 +0200 (CEST)
> From: Daniel Stenberg <daniel_at_haxx.se>
> To: libcurl development <curl-library_at_cool.haxx.se>
> Subject: Re: Download from Url malformed?
> Message-ID: <alpine.DEB.2.00.1408151414300.23727_at_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
Received on 2014-08-16