cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Cannot retrieve "301 Moved Permanently" file

From: Valentine Rozental <valentine.rozental_at_gmail.com>
Date: Sun, 02 Oct 2011 07:06:34 -0600

/> /From: Daniel Stenberg <daniel_at_haxx.se
<mailto:daniel_at_haxx.se?Subject=Re:%20Cannot%20retrieve%20&quot;301%20Moved%20Permanently&quot;%20file>>
/> /Date: Wed, 28 Sep 2011 15:29:08 +0200 (CEST)

/> /On Wed, 28 Sep 2011, Valentine Rozental wrote:

/> //> I cannot to retrieve a file if there is "301 Moved Permanently"
redirection./
/> //> The 'easy' interface is used and the CURLOPT_FOLLOWLOCATION is set/
/> //> successfully by: curl_easy_setopt(easyHandle,
CURLOPT_FOLLOWLOCATION, 1)/

/> /...

/> //> < Location: //ssl.gstatic.com/s2/oz/images/favicon.ico/

/> /You fell right into a bug that we fixed not too long ago:

/> /https://github.com/bagder/curl/commit/81b41095efd1f5b

/> /It is still not present in any release, so you either can apply the
patch to
/> /an existing source code or you build a daily snapshot to run with!

/> /The bug fix will be included in the next release.

/> /--
/> / / daniel.haxx.se

Hi Daniel,

I'll use the patch that fixes the bug.
It's great that the bug is already fixed!

Thank you for explanation!
Valentine Rozental.

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