curl-library
Re: problems following redirect
Date: Fri, 11 May 2001 12:45:20 +0200 (MET DST)
On Fri, 11 May 2001, Nilsson Johan wrote:
> I'm using (the GREAT!) libcurl and I'm having problems with a server
> doing redirect and I don't really know how to handle it. I will be able
> to handle this type of redirect...
[snip]
> The server's response is as follows:
> ----------------------------
> HTTP/1.1 302 Moved Temporarily
> Server: Netscape-Enterprise/4.1
> Content-Length: 0
> Location: /uploaded_files/slindberg.jpg
^^
> Via: 1.1 xx.nokia.com (NetCache 4.1R6D4)
> Date: Fri, 11 May 2001 10:02:42 GMT
Congratulations, you just experienced the very same bug Ingo Wilken patched
for us yesterday! ;-)
Read Ingo's post at http://curl.haxx.se/mail/archive-2001-05/0042.html, or
fetch a "official" diff from the CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/lib/transfer.c.diff?r1=1.37&r2=1.38&diff_format=u
Also note that Ingo fixed two other Location: related bugs today...
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/ _______________________________________________ Curl-library mailing list Curl-library_at_lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/curl-libraryReceived on 2001-05-11