Skip site navigation (1)Skip section navigation (2)
Date:      13 Jul 2000 11:00:31 +0200
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        Jun Kuriyama <kuriyama@FreeBSD.org>
Cc:        FreeBSD-current@FreeBSD.org
Subject:   Re: fetch http://cgi returns -1 size
Message-ID:  <xzpya36l80g.fsf@flood.ping.uio.no>
In-Reply-To: Jun Kuriyama's message of "Thu, 13 Jul 2000 15:12:20 %2B0900"
References:  <7md7kjst3c.wl@waterblue.imgsrc.co.jp> <xzpd7kj7mx9.fsf@flood.ping.uio.no> <7m8zv6o8xn.wl@waterblue.imgsrc.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Jun Kuriyama <kuriyama@FreeBSD.org> writes:
> By the way, current implementation of fetch(1) ignores "301 redirect"
> silently.  Is it expected behavior?  Should it make warning message
> without -v option? (or following redirection?)

The bug is twofold: first, it doesn't handle relative redirects
properly; second, because of a small logic bug it doesn't actually
loop back to try again with the new URL... I'll commit a fix in a few
minutes.

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpya36l80g.fsf>