Re: [Doh] URI Template

Patrick McManus <pmcmanus@mozilla.com> Fri, 31 August 2018 19:16 UTC

Return-Path: <pmcmanus@mozilla.com>
X-Original-To: doh@ietfa.amsl.com
Delivered-To: doh@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8BA93130DD0 for <doh@ietfa.amsl.com>; Fri, 31 Aug 2018 12:16:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.234
X-Spam-Level:
X-Spam-Status: No, score=-1.234 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
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 T6Pgr7U1f-UY for <doh@ietfa.amsl.com>; Fri, 31 Aug 2018 12:16:28 -0700 (PDT)
Received: from linode64.ducksong.com (www.ducksong.com [192.155.95.102]) by ietfa.amsl.com (Postfix) with ESMTP id 78685124C04 for <doh@ietf.org>; Fri, 31 Aug 2018 12:16:28 -0700 (PDT)
Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by linode64.ducksong.com (Postfix) with ESMTPSA id D839F3A024 for <doh@ietf.org>; Fri, 31 Aug 2018 15:16:23 -0400 (EDT)
Received: by mail-oi0-f45.google.com with SMTP id p84-v6so23580781oic.4 for <doh@ietf.org>; Fri, 31 Aug 2018 12:16:23 -0700 (PDT)
X-Gm-Message-State: APzg51DR2jzmLB8H18UZIQL8bFfyVFJFuEwxy3RFAwZZfsLr456tCCiC 1tkiAVuiZxDKGmf3ctrUeSDjNAJkzPH0Fd0Af1U=
X-Google-Smtp-Source: ANB0Vdbm6a75BeqIAocEiYHdkYgt5hu2iFCvCr349Q2KuwPI+JAZE1IR9EDkLz9L5LWXkXJcQ2yEwAAsu8pjjlWsHw0=
X-Received: by 2002:a54:4784:: with SMTP id o4-v6mr8197745oic.101.1535742983490; Fri, 31 Aug 2018 12:16:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a4a:605:0:0:0:0:0 with HTTP; Fri, 31 Aug 2018 12:16:23 -0700 (PDT)
In-Reply-To: <DM6PR19MB22499DEF8E7D9B234B2D06C7940F0@DM6PR19MB2249.namprd19.prod.outlook.com>
References: <alpine.DEB.2.20.1808310821230.28896@tvnag.unkk.fr> <CABkgnnVEbwOaEvWu5O--QG8psQibyTP59EmTMmbdA+aVC0=xZQ@mail.gmail.com> <alpine.DEB.2.20.1808311517100.28896@tvnag.unkk.fr> <DM6PR19MB22499DEF8E7D9B234B2D06C7940F0@DM6PR19MB2249.namprd19.prod.outlook.com>
From: Patrick McManus <pmcmanus@mozilla.com>
Date: Fri, 31 Aug 2018 15:16:23 -0400
X-Gmail-Original-Message-ID: <CAOdDvNrvGji-0H7-cKjjZ9rt443ewNdK_5k=WLGPm_BJWcZ9BA@mail.gmail.com>
Message-ID: <CAOdDvNrvGji-0H7-cKjjZ9rt443ewNdK_5k=WLGPm_BJWcZ9BA@mail.gmail.com>
To: Star Brilliant <m13253@hotmail.com>
Cc: Daniel Stenberg <daniel@haxx.se>, Martin Thomson <martin.thomson@gmail.com>, DoH WG <doh@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ff55a60574c0067d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/E7upYRQocwW9tNkgwP64vxqT5n8>
Subject: Re: [Doh] URI Template
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: DNS Over HTTPS <doh.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/doh>, <mailto:doh-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/doh/>
List-Post: <mailto:doh@ietf.org>
List-Help: <mailto:doh-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/doh>, <mailto:doh-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Aug 2018 19:16:31 -0000

4.1:

  Future specifications for new media types for DoH MUST define the
   variables used for URI Template processing with this protocol.



On Fri, Aug 31, 2018 at 3:10 PM, Star Brilliant <m13253@hotmail.com> wrote:

> On Fri, Aug 31, 2018 at 11:23 PM Daniel Stenberg <daniel@haxx.se> wrote:
> >
> > On Fri, 31 Aug 2018, Martin Thomson wrote:
> >
> > > For instance, DoH only defines what "dns" means, so you would take
> > > "https://example.org{?dns}{?x}" and just do
> > > "https://example.org?dns=<blah>".  Of course, an extension to DoH
> > > might define "x", and those clients that understand that extension
> > > could use that template with the extension.
> >
> > Ok I understand. If we in the future also adds 'x' as a variable that
> can be
> > used in DoH, a future template could look like "https://example.org
> {?dns}{?x}"
> > so if we want the current template parser to be future-proof it needs to
> > accept them all...
> >
> > Thanks!
>
> Hi,
>
> By the way, I remember we once had a "ct" parameter to specify the
> Content-Type, in case we will define another one in the future.
>
> But I can not find any information about "ct" in the latest draft. Is it
> removed?
> What should we do if we want another Content-Type in the future? (e.g.
> text-based, JSON-based, or session-based XFR)
>
>
> Best regards,
> StarBrilliant
> _______________________________________________
> Doh mailing list
> Doh@ietf.org
> https://www.ietf.org/mailman/listinfo/doh
>