cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: problem with followlocation

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 27 Nov 2003 22:06:02 +0100 (CET)

On Thu, 27 Nov 2003, Hetfield wrote:

> i'm writing a simple app that download a file. it works good if there is no
> redirection. with redirection doesn't work.

What libcurl version on what platform?

When I try running curl (I tried 7.10.6) from my machine on that URL, I get a
location just fine:

$ curl -v
"http://ocbmaurice.dyndns.org/pl/slist.pl/server.met?download/server-max.met"
* About to connect() to ocbmaurice.dyndns.org:80
* Connected to dclient62-2-175-50.hispeed.ch (62.2.175.50) port 80
> GET /pl/slist.pl/server.met?download/server-max.met HTTP/1.1
User-Agent: curl/7.10.6 (i686-pc-linux-gnu) libcurl/7.10.6 OpenSSL/0.9.7a ipv6
zlib/1.1.3 GSS
Host: ocbmaurice.dyndns.org
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

< HTTP/1.1 302 Found
< Date: Thu, 27 Nov 2003 21:35:37 GMT
< Server: Apache/1.3.27 (Unix) mod_gzip/1.3.19.1a mod_throttle/3.1.2
mod_perl/1.27
< Location: http://slist.no-ip.info/lucnwjjwhd/max/server.met
< Connection: close
< Transfer-Encoding: chunked
< Content-Type: text/plain
* Closing connection #0

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
 [[ Do not post private mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Received on 2003-11-27