Re: [Doh] Support requirements for Get and Post

Ólafur Guðmundsson <olafur@cloudflare.com> Sat, 17 March 2018 13:16 UTC

Return-Path: <olafur@cloudflare.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 76857127863 for <doh@ietfa.amsl.com>; Sat, 17 Mar 2018 06:16:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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_LOW=-0.7, 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=cloudflare.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 3zBMlCGaNGbC for <doh@ietfa.amsl.com>; Sat, 17 Mar 2018 06:16:45 -0700 (PDT)
Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (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 CBAED12708C for <doh@ietf.org>; Sat, 17 Mar 2018 06:16:44 -0700 (PDT)
Received: by mail-wm0-x236.google.com with SMTP id h21so7780688wmd.1 for <doh@ietf.org>; Sat, 17 Mar 2018 06:16:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=oCRem5ljno3EV0J/xdEvf5shkMf32GTuiQD0q7LGNgs=; b=wAO9iAUugd0wpN6J0LEaT15RZSimoAoEB3BoULvh/5bk7Yu5ZbJU+Sqn8SYgkigJKE JgDP2iBxftyuFEBTZnpKHnxxnn8b8/tky+ROaWYzyx2cSzLKnYvPDBqjphFSbnUrn6gA 5u/KDF6ypXbU3NEXvntyuMZCvwPqpfxp2ke+Q=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oCRem5ljno3EV0J/xdEvf5shkMf32GTuiQD0q7LGNgs=; b=Ly4smsyFxLlAXZoGw1Y2rGC1UdTEEb8AUimeTTN/xnz9bhoYIX5MOmxEUkoyKEWo7D /Z/A3O5GMi0ctIiXzsz+80YJPotdKvToWNjOWUZegCJRXzLmAYff3VkDGNBJWyYwhf8r GuoB+fbkN85YI8Bonvn9aBLNXVFQFidot//QLWwA3RVnG32Rac/k+RoquY5GqI1Xdhe3 Jc/AAu7akXdnEVi12VWwzgAHcxQCsEYubJ+PIDysdA9jr1j+1hnD8U2iB5kW4SjhJ0hp JIXos2/oqN9UxfcWH0U8iY4UYl6htKatS/bq3N00R1m1OOygBmVB9Nj92aXd8f2knXK7 izLw==
X-Gm-Message-State: AElRT7EQqcMNozFdqK8jKFgd5irdEZKh9qkw4T7dEt0XYJXjhPoAQqhx URe7rrd3jDzEkkqGyN2ZtDm5bqwvDhn8hUpFENNCnteu
X-Google-Smtp-Source: AG47ELv5HifhAQqGRC0/PnZu565Myy7IKdS6W3unFll0TBgrbBlUGbRl2gUg8nAPn697hCo59EUq5x4aXXDskO5iNh0=
X-Received: by 10.28.5.145 with SMTP id 139mr4050736wmf.31.1521292603262; Sat, 17 Mar 2018 06:16:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.169.41 with HTTP; Sat, 17 Mar 2018 06:16:42 -0700 (PDT)
In-Reply-To: <alpine.DEB.2.20.1803171337530.1331@tvnag.unkk.fr>
References: <CAN6NTqzkUeF79y=heQ7PK7T3mQVDDk5WRtqB-npi6PuQ2s5bNQ@mail.gmail.com> <alpine.DEB.2.20.1803171337530.1331@tvnag.unkk.fr>
From: =?UTF-8?B?w5NsYWZ1ciBHdcOwbXVuZHNzb24=?= <olafur@cloudflare.com>
Date: Sat, 17 Mar 2018 13:16:42 +0000
Message-ID: <CAN6NTqykeU1gT0TaDKahBPeF-a8gwYG7gsAEK_aSE0fNP-AsfQ@mail.gmail.com>
To: Daniel Stenberg <daniel@haxx.se>
Cc: doh@ietf.org
Content-Type: multipart/alternative; boundary="001a114442f837a09f05679b8995"
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/m_dfL7E0SjQS3qbzrFgTB5-ln7U>
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:16:46 -0000

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