Re: [Doh] Support requirements for Get and Post

Patrick McManus <pmcmanus@mozilla.com> Sat, 17 March 2018 13:43 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 D3A6A12708C for <doh@ietfa.amsl.com>; Sat, 17 Mar 2018 06:43:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.233
X-Spam-Level:
X-Spam-Status: No, score=-1.233 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] 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 Je3B0f1MIStj for <doh@ietfa.amsl.com>; Sat, 17 Mar 2018 06:43:18 -0700 (PDT)
Received: from linode64.ducksong.com (www.ducksong.com [192.155.95.102]) by ietfa.amsl.com (Postfix) with ESMTP id BEFF7127909 for <doh@ietf.org>; Sat, 17 Mar 2018 06:43:18 -0700 (PDT)
Received: from mail-oi0-f49.google.com (mail-oi0-f49.google.com [209.85.218.49]) by linode64.ducksong.com (Postfix) with ESMTPSA id D037A3A0EB for <doh@ietf.org>; Sat, 17 Mar 2018 09:43:17 -0400 (EDT)
Received: by mail-oi0-f49.google.com with SMTP id u73so10889338oie.3 for <doh@ietf.org>; Sat, 17 Mar 2018 06:43:17 -0700 (PDT)
X-Gm-Message-State: AElRT7GHJoxK2SmmFpYaAkOw2gJtUr144XFdHuXMdSPhXdieelMF7Pwg F4akflHHougTwI0RVe+WqfTc9WRwIdzLSVEsI0I=
X-Google-Smtp-Source: AG47ELsEE+/3NlhhMd1ADZsIpZZU6Vlft1pWNZrA9s5w1WNfAVkD8evxp4GYWZ4ftMVAs4ThNwjt3xaPjBxnMbUOEOU=
X-Received: by 10.202.75.4 with SMTP id y4mr3213563oia.17.1521294197532; Sat, 17 Mar 2018 06:43:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.74.66.212 with HTTP; Sat, 17 Mar 2018 06:43:17 -0700 (PDT)
In-Reply-To: <CAN6NTqykeU1gT0TaDKahBPeF-a8gwYG7gsAEK_aSE0fNP-AsfQ@mail.gmail.com>
References: <CAN6NTqzkUeF79y=heQ7PK7T3mQVDDk5WRtqB-npi6PuQ2s5bNQ@mail.gmail.com> <alpine.DEB.2.20.1803171337530.1331@tvnag.unkk.fr> <CAN6NTqykeU1gT0TaDKahBPeF-a8gwYG7gsAEK_aSE0fNP-AsfQ@mail.gmail.com>
From: Patrick McManus <pmcmanus@mozilla.com>
Date: Sat, 17 Mar 2018 13:43:17 +0000
X-Gmail-Original-Message-ID: <CAOdDvNq7e5YGtUap6tHu34zX5q1PvmQjAh+fc0m=xcRDUrmKhA@mail.gmail.com>
Message-ID: <CAOdDvNq7e5YGtUap6tHu34zX5q1PvmQjAh+fc0m=xcRDUrmKhA@mail.gmail.com>
To: Ólafur Guðmundsson <olafur@cloudflare.com>
Cc: Daniel Stenberg <daniel@haxx.se>, doh@ietf.org
Content-Type: multipart/alternative; boundary="001a113de11a3e319605679be8a8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/zz9uwO7cucG8m1QLgD_ruNhenTo>
Subject: Re: [Doh] Support requirements for Get and Post
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.22
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: Sat, 17 Mar 2018 13:43:21 -0000

push #1: anticipate other needs of the client (as mentioned)

push #2: its a different way to express additional records if that's a
desirable thing (e.g. ttl granularity)



On Sat, Mar 17, 2018 at 1:16 PM, Ólafur Guðmundsson <olafur@cloudflare.com>
wrote:

> What is the usage case to Server push of DNS answers ?
>
> Olafur
>
>
> On Sat, Mar 17, 2018 at 12:40 PM, Daniel Stenberg <daniel@haxx.se> wrote:
>
>> On Sat, 17 Mar 2018, Ólafur Guðmundsson wrote:
>>
>> Post MUST be supported Get MAY be supported, when GET is not supported
>>> the error code retuned should be 405 (HTTP RFC 7321, section 6.5.5).
>>>
>>
>> You didn't say this, and it is a side-note about methods, but I still
>> wanted to just mention that when imlementing support for HTTP/2 server push
>> for DOH, you want the server to send that as a GET so that the query string
>> tells the client about the request it also sends the response to...
>>
>> --
>>
>>  / daniel.haxx.se
>
>
>
> _______________________________________________
> Doh mailing list
> Doh@ietf.org
> https://www.ietf.org/mailman/listinfo/doh
>
>