Re: [Doh] Support requirements for Get and Post

Daniel Stenberg <daniel@haxx.se> Sat, 17 March 2018 12:40 UTC

Return-Path: <daniel@haxx.se>
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 44A1F12778E for <doh@ietfa.amsl.com>; Sat, 17 Mar 2018 05:40:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=ham 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 pgqgOcEg3EVB for <doh@ietfa.amsl.com>; Sat, 17 Mar 2018 05:40:40 -0700 (PDT)
Received: from giant.haxx.se (www.haxx.se [IPv6:2a00:1a28:1200:9::2]) by ietfa.amsl.com (Postfix) with ESMTP id 3C406127077 for <doh@ietf.org>; Sat, 17 Mar 2018 05:40:40 -0700 (PDT)
Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id w2HCebHe024974 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 17 Mar 2018 13:40:37 +0100
Received: from localhost (dast@localhost) by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id w2HCebII024970; Sat, 17 Mar 2018 13:40:37 +0100
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Sat, 17 Mar 2018 13:40:37 +0100 (CET)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: =?ISO-8859-15?Q?=D3lafur_Gu=F0mundsson?= <olafur@cloudflare.com>
cc: doh@ietf.org
In-Reply-To: <CAN6NTqzkUeF79y=heQ7PK7T3mQVDDk5WRtqB-npi6PuQ2s5bNQ@mail.gmail.com>
Message-ID: <alpine.DEB.2.20.1803171337530.1331@tvnag.unkk.fr>
References: <CAN6NTqzkUeF79y=heQ7PK7T3mQVDDk5WRtqB-npi6PuQ2s5bNQ@mail.gmail.com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
Content-Type: multipart/mixed; BOUNDARY="1129329158-101822746-1521290437=:1331"
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/NgX0ItMtNqZRIZVjaROV_2kcoak>
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 12:40:42 -0000

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