[Wpack] Support relative URL in Web Bundle format

Tsuyoshi Horo <horo@google.com> Wed, 15 September 2021 00:51 UTC

Return-Path: <horo@google.com>
X-Original-To: wpack@ietfa.amsl.com
Delivered-To: wpack@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 53FA03A088F for <wpack@ietfa.amsl.com>; Tue, 14 Sep 2021 17:51:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -18.097
X-Spam-Level:
X-Spam-Status: No, score=-18.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.499, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vJOPyRhhSBvf for <wpack@ietfa.amsl.com>; Tue, 14 Sep 2021 17:50:58 -0700 (PDT)
Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 620053A0890 for <wpack@ietf.org>; Tue, 14 Sep 2021 17:50:58 -0700 (PDT)
Received: by mail-yb1-xb32.google.com with SMTP id y13so2103001ybi.6 for <wpack@ietf.org>; Tue, 14 Sep 2021 17:50:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=CBLIhfsvbgAQBy97NpfS89S3MPcA6EPSB2fLrevxvGo=; b=DYLoOdOBrDWzdSQ6pUqXr0nJND/e2rmvo4h0hmhD3GBKSRZAHroCaHwlanyJi3ttw8 TgYMJs/h7seAfM6dUM1PV2C4nlm2PTrp23t7oZTzpD8wS4m3b+s3NMqb8azb+Wd9BH5m Wwyk8jm8n8Ah628XLZMKAwKyPql15D2JIfbGF0xrso7SSdgL6iOC9HD8NXf4oG9P87pF JS/CmU1hqDAV7xPSVet4c9iUGY91v0lKVZxioBny9enChHJeH9eOqpP+fAGyL4lVCVpY H1oPOfDahXGEhJRY8yEzvwL4Oq+9fjfsJo7BAlr3mDdfHe3Th32kB4BT6HWdrOesDUQx k7Hw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=CBLIhfsvbgAQBy97NpfS89S3MPcA6EPSB2fLrevxvGo=; b=obN6Fsf0gvJoC771gSH5JB2RRM0iZagdVXIqTZT7tXqIeIZ2oHd0U3ELRIZP4f3r6J cfg9s8tOwcQ9pfsXy9ERIMseq1ZGHu+BucDXhPVscGzLvXW+cZY5OqgmcmEYBzXMIvV0 V1BJBqSOY/0uBEOn9Hxztp9m0qANpaAccrUMD0plPGJRzUe41D//B2iKU3Ggc1dzRSbG 3+6F0Jz/cvQIv6I8v4HZ43REaB9vgetNV3w6PZyrRNb5vpLxnmh60bLJY1hkA/qpkkeA Cz4JoJzY6F3peOp2+rEhCENQ4L3QTTcKnVLLH0Da61VjllmgCj7bPV7LfBqsibRbBLf3 lojA==
X-Gm-Message-State: AOAM533mNrPpbYt/nDWiWR+QEStpgnwIHanhRoKdznrjSjTxzPhJy30v t6DGbXpww3cqhKVLqIlI0DiUJQ2ic2ZRfkOPdXPTKvILTjhMCA==
X-Google-Smtp-Source: ABdhPJzKytXoBFOLovdwJMx9mundHHq5cHQD4CfmI2EksVqANaSaXkBBGfNVjN3murr68ohV1rpHdeH1ugbQXt6bJXw=
X-Received: by 2002:a25:bb93:: with SMTP id y19mr2739532ybg.266.1631667056390; Tue, 14 Sep 2021 17:50:56 -0700 (PDT)
MIME-Version: 1.0
From: Tsuyoshi Horo <horo@google.com>
Date: Wed, 15 Sep 2021 09:50:45 +0900
Message-ID: <CADk0S-Uyz5hgWy9R2VrTZj-Su864t1vYam1yVbyaXZVhiH4sYA@mail.gmail.com>
To: wpack@ietf.org
Cc: Jeffrey Yasskin <jyasskin@chromium.org>
Content-Type: multipart/alternative; boundary="0000000000004a4c7905cbfe17e1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/wpack/myHwuSoKVdqRxHC6YKCSvPvfpTs>
Subject: [Wpack] Support relative URL in Web Bundle format
X-BeenThere: wpack@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Web Packaging <wpack.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/wpack>, <mailto:wpack-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/wpack/>
List-Post: <mailto:wpack@ietf.org>
List-Help: <mailto:wpack-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/wpack>, <mailto:wpack-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Sep 2021 00:51:15 -0000

Hi, WPACK folks.
I'm Tsuyoshi Horo. I am working on Web Packaging in Chromium project.

We are thinking about changing the spec of Web Bundles to support relative
URLs.

Currently, the spec says:
>
https://wpack-wg.github.io/bundled-responses/draft-ietf-wpack-bundled-responses.html#section-2.2-1
> Representations within a bundle are named by their Content-Location
(Section 8.7 of [I-D.ietf httpbis-semantics]), which holds a URL. This is
also known as the representation's URL

And draft-ietf-httpbis-semantics-19 says:
>
https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-semantics-19#section-8.7
> Content-Location = absolute-URI / partial-URI

It seems the spec already supports relative URLs. But we'd like to make it
clear.

So, I created this pull request.
https://github.com/wpack-wg/bundled-responses/pull/15

Do folks here have any opinions on this change of the pull request?

Thanks.