curl-users
Re: cURL 7.10.3 HTTP download and --location not working
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sat, 22 Nov 2003 22:40:28 +0100 (CET)
Date: Sat, 22 Nov 2003 22:40:28 +0100 (CET)
On Fri, 21 Nov 2003, Tony Blakie wrote:
> We're using the following cURL command (I've censored sensitive values, i.e.
> IP addresses, user Ids and passwords):
[snip]
> <= Recv header, 32 bytes (0x20)
> 0000: HTTP/1.1 302 Moved Temporarily
> <= Recv header, 21 bytes (0x15)
> 0000: Content-Length: 964
> == Info: transfer closed with 964 bytes remaining to read
> == Info: Closing connection #0
There's no Location: header here!?
> Does anyone know why the location switch doesn't seem to be routing on the
> request from the URL to the actual physical location?
Because it found no Location: header?
> Is it a version issue?
It never worked without a header!
-- 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-22