draft-bryan-metalinkhttp-22 and redirects

Matt Domsch <Matt_Domsch@dell.com> Thu, 31 March 2011 01:42 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CB2A43A6AEC for <ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com>; Wed, 30 Mar 2011 18:42:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.999
X-Spam-Level:
X-Spam-Status: No, score=-9.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_39=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id luyt3hcYTIZP for <ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com>; Wed, 30 Mar 2011 18:42:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by core3.amsl.com (Postfix) with ESMTP id 9DDA33A6AE1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 30 Mar 2011 18:42:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Q56uE-0004EV-LE for ietf-http-wg-dist@listhub.w3.org; Thu, 31 Mar 2011 01:42:38 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mdomsch@domsch.com>) id 1Q56rD-0002wx-81 for ietf-http-wg@listhub.w3.org; Thu, 31 Mar 2011 01:39:31 +0000
Received: from hrndva-omtalb.mail.rr.com ([71.74.56.125]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mdomsch@domsch.com>) id 1Q56rB-0005ho-EL for ietf-http-wg@w3.org; Thu, 31 Mar 2011 01:39:31 +0000
X-Authority-Analysis: v=1.1 cv=qyUSAyc82z9xLljZQc9ErY9Tl2GSEfqK/XYZS35I9d8= c=1 sm=0 a=wom5GMh1gUkA:10 a=AoH2EYFQyoIA:10 a=kj9zAlcOel0A:10 a=tEhDZD0/OrGsZY5OlbHosQ==:17 a=A1X0JdhQAAAA:8 a=nPXpNxLOAAAA:8 a=cbyndS6TCRe793XzG7EA:9 a=ij6JUUafeEFHCm_ahhgA:7 a=CjuIK1q_8ugA:10 a=tEhDZD0/OrGsZY5OlbHosQ==:117
X-Cloudmark-Score: 0
X-Originating-IP: 66.68.93.152
Received: from [66.68.93.152] ([66.68.93.152:36185] helo=pws490.domsch.com) by hrndva-oedge02.mail.rr.com (envelope-from <mdomsch@domsch.com>) (ecelerity 2.2.3.46 r()) with ESMTP id D3/B5-08375-23BD39D4; Thu, 31 Mar 2011 01:38:59 +0000
Received: from pws490.domsch.com (localhost.localdomain [127.0.0.1]) by pws490.domsch.com (8.14.4/8.14.3) with ESMTP id p2V1cwsi014574 for <ietf-http-wg@w3.org>; Wed, 30 Mar 2011 20:38:58 -0500
Received: (from mdomsch@localhost) by pws490.domsch.com (8.14.4/8.14.4/Submit) id p2V1cvvt014572 for ietf-http-wg@w3.org; Wed, 30 Mar 2011 20:38:57 -0500
Date: Wed, 30 Mar 2011 20:38:57 -0500
From: Matt Domsch <Matt_Domsch@dell.com>
To: ietf-http-wg@w3.org
Message-ID: <20110331013857.GC14449@pws490.domsch.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
Received-SPF: pass client-ip=71.74.56.125; envelope-from=mdomsch@domsch.com; helo=hrndva-omtalb.mail.rr.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Q56rB-0005ho-EL d05d76df34425ae8de13494df367f67b
X-Original-To: ietf-http-wg@w3.org
Subject: draft-bryan-metalinkhttp-22 and redirects
Archived-At: <http://www.w3.org/mid/20110331013857.GC14449@pws490.domsch.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/10304
X-Loop: ietf-http-wg@w3.org
Sender: ietf-http-wg-request@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Q56uE-0004EV-LE@frink.w3.org>
Resent-Date: Thu, 31 Mar 2011 01:42:38 +0000

Regarding section 7:

7.  Client / Server Multi-source Download Interaction

   Metalink clients begin a download with a standard HTTP [RFC2616]
   GET request to the Metalink server.  Metalink clients MAY use a Range
   limit if desired.

   GET /distribution/example.ext HTTP/1.1
   Host: www.example.com

   The Metalink server responds with the data and these header fields:
   HTTP/1.1 200 OK
   Accept-Ranges: bytes
   Content-Length: 14867603
   Content-Type: application/x-cd-image
   Etag: "thvDyvhfIqlvFe+A9MYgxAfm1q5="
   Link: <http://www2.example.com/example.ext>; rel=duplicate; pref
   ...


HTTP Servers are permitted to respond to an HTTP GET request with a
HTTP REDIRECT (30x) response, including a Location header, the target
of the redirect.  I presume this continues to be permitted, and that
the Link and other headers specified here may also be returned by the
server along with the redirect response.

In this case, I would expect Link rel=duplicate headers should be
considered as alternate Location headers, and that the Metalink client
may issue the subsequent request to any of the rel=duplicate URLs
using the priority field as appropriate, and should that subsequent
request fail, the client is permitted to re-issue the subsequent
request to another listed mirror from the Link list.

Please confirm, and clarify in the document if appropriate.

Thanks,
Matt
MirrorManager author (http://mirrormanager.org)

-- 
Matt Domsch
Technology Strategist, Dell Office of the CTO