Re: [quicwg/base-drafts] HTTP/QUIC without Alt-Svc? (#253)

Mike Bishop <notifications@github.com> Wed, 01 February 2017 18:11 UTC

Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C6A612950F for <quic-issues@ietfa.amsl.com>; Wed, 1 Feb 2017 10:11:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.218
X-Spam-Level:
X-Spam-Status: No, score=-5.218 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-3.199, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.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 rD19_mrt3MGy for <quic-issues@ietfa.amsl.com>; Wed, 1 Feb 2017 10:11:28 -0800 (PST)
Received: from o10.sgmail.github.com (o10.sgmail.github.com [167.89.101.201]) (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 9B5FB1294EF for <quic-issues@ietf.org>; Wed, 1 Feb 2017 10:11:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=xCxKmWDrnBmAXSM+dnX60IHlu90=; b=gebmHVC3d11vpKyW 3go0NjpYg2v4Tzx9ZL0gNvy1inAj5JKz7bkEVY3FVoUAt1KCqicesEWQ6KTGguEb g9BjV/+8cmJZxYSbNWHmAs9q1SXdnATDUIL9KaVFNLIvx/kUqCt1rAdozH1RSwlG /P9TaBjuQfgdZxG3oT9Oo4aEVpM=
Received: by filter0571p1mdw1.sendgrid.net with SMTP id filter0571p1mdw1-15692-589224BE-A 2017-02-01 18:11:10.094143079 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16]) by ismtpd0001p1iad1.sendgrid.net (SG) with ESMTP id RmXV48s5Q8OXNCoaV2bieQ for <quic-issues@ietf.org>; Wed, 01 Feb 2017 18:11:10.086 +0000 (UTC)
Date: Wed, 01 Feb 2017 10:11:09 -0800
From: Mike Bishop <notifications@github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/253/276734604@github.com>
In-Reply-To: <quicwg/base-drafts/issues/253@github.com>
References: <quicwg/base-drafts/issues/253@github.com>
Subject: Re: [quicwg/base-drafts] HTTP/QUIC without Alt-Svc? (#253)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_589224bde50bf_77583fddfe063134803ef"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: MikeBishop
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3Domu60VcBuG0cFo8/V2CUIr+eNqmE5L+KBl VoCCM36HTAkimgde96v35IHAC9rTsuBZZpPYSBWt2+EjTzMgpclfzitSnkGi8H+jnhbvIAkhAC9KFw 02+b/tFOI4jpIpiZ0w07E02BFX2IUDcQwzIvv1Gu2MB6W154Qv6McWh3EPJeagvEgHFGQS+izqYbji A=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/3yqYmFh9HGVaKVgmnR_WUDqxhkY>
Cc: Subscribed <subscribed@noreply.github.com>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.17
Reply-To: quic@ietf.org
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Feb 2017 18:11:30 -0000

We already have different URLs for things that might/might not be interchangeable.  When you use Alt-Svc between an http:// origin and an https:// endpoint, you're declaring that they're either interchangeable or you can properly process the distinction.

I can envision several scenarios where either server or client won't want to carry a full HTTP/TLS/TCP stack simply for bootstrapping, when they already know both peers will support HTTP/QUIC.  Maybe authenticated SRV is the path forward, but it seems like the simplest would be something like:

>    HTTP/QUIC is differentiated from HTTP and HTTPS URIs by using the 'httpq' protocol identifier in place of the 'http' or 'https' protocol identifier. An example URI specifying HTTP/QUIC is `httpq://www.example.com/~smith/home.html`.  Origins which serve the same content over HTTP/QUIC and HTTPS SHOULD provide an Alt-Svc header on the HTTPS endpoint declaring that the resource can be obtained over QUIC as well, and SHOULD NOT reference URIs with the 'httpq' scheme in responses to 'http' or 'https' requests.  Such origins MAY consider 'https' and 'httpq' to be equivalent while processing requests.

Note that I don't expect this to be used in browser-land anytime soon, if ever.  httpq:// would be inaccessible to legacy browsers, and you'd be cutting off a substantial portion of the web from following the link.  However, I think for non-browser scenarios and for testing, there should be a way to explicitly describe a QUIC endpoint.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/issues/253#issuecomment-276734604