Re: New Version Notification for draft-nottingham-httpbis-retry-01.txt

Willy Tarreau <w@1wt.eu> Sat, 11 February 2017 07:24 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DAF65129495 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2017 23:24:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-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 3l9feMXFPttv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2017 23:24:01 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 34F731296F5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 10 Feb 2017 23:23:58 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ccRyw-0006lk-9g for ietf-http-wg-dist@listhub.w3.org; Sat, 11 Feb 2017 07:20:30 +0000
Resent-Date: Sat, 11 Feb 2017 07:20:30 +0000
Resent-Message-Id: <E1ccRyw-0006lk-9g@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <w@1wt.eu>) id 1ccRyq-0006jb-CG for ietf-http-wg@listhub.w3.org; Sat, 11 Feb 2017 07:20:24 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <w@1wt.eu>) id 1ccRyj-0001tx-UR for ietf-http-wg@w3.org; Sat, 11 Feb 2017 07:20:19 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id v1B7JksW014335; Sat, 11 Feb 2017 08:19:46 +0100
Date: Sat, 11 Feb 2017 08:19:46 +0100
From: Willy Tarreau <w@1wt.eu>
To: Mike Bishop <Michael.Bishop@microsoft.com>
Cc: Wenbo Zhu <wenboz@google.com>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>, "Roy T. Fielding" <fielding@gbiv.com>
Message-ID: <20170211071945.GA14322@1wt.eu>
References: <148593754312.24497.16311379877517350605.idtracker@ietfa.amsl.com> <3F68DC4A-3AC8-4309-8119-15A82C5E1EFC@mnot.net> <CA+3+x5E26beOT0CQYvt1LmQXmZBG3i9+H0g9-hqGgE_OCofNeg@mail.gmail.com> <E26FEBDB-D09F-4A2D-A249-3E033A6C3070@gbiv.com> <CAD3-0rPvB0BwBhEF0ybd3402Spk2DQeo_P7JSCa1CC2NJdX=wQ@mail.gmail.com> <BN6PR03MB27084BCB2DD7A163621BD90E87470@BN6PR03MB2708.namprd03.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <BN6PR03MB27084BCB2DD7A163621BD90E87470@BN6PR03MB2708.namprd03.prod.outlook.com>
User-Agent: Mutt/1.6.1 (2016-04-27)
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-7.0
X-W3C-Hub-Spam-Report: AWL=0.934, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1ccRyj-0001tx-UR 004c61753bd885d981a915087292db87
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-nottingham-httpbis-retry-01.txt
Archived-At: <http://www.w3.org/mid/20170211071945.GA14322@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33471
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Sat, Feb 11, 2017 at 04:23:33AM +0000, Mike Bishop wrote:
> Some assorted reasons show up in the discussion at
> https://www.youtube.com/watch?v=uQKZIiecqDE&list=PLC86T-6ZTP5i0Bp03yAK5oWrxMMwBjIq7&index=109
> starting around 1:15:30.  Scale, I'm not sure; Patrick had the direct
> experience and might be able to tell more.

Thanks for the link, Mike, that was quite an interesting talk! For haproxy
I planned to have an action to let the admin indicate that if certain
criteria match, then a request is idempotent. For example, a POST request
containing a transactionId argument, etc... I'm realizing that stuff like
this could be proposed to be generalized instead of having to be made
specific to each and every component. In short what is needed (from my
perspective) is :
  - a way for the application to signal the client that a request will
    be idempotent (could be either by adding a specific field to HTML
    forms, or passing a header field in the HTTP response saying that
    the exact same URI is safe for POSTs, etc).

  - a way for the client to notify the chain back to the origin that
    it's safe to replay the current request based on the info learned
    from the application. That could simply be a header field or a
    value added to a header field such as :
        content-type: application/x-www-form-urlencoded; safe

Just my 2 cents,
Willy